Skip to content

fix(deps): update dependency eslint to ^8.57.1 #855

fix(deps): update dependency eslint to ^8.57.1

fix(deps): update dependency eslint to ^8.57.1 #855

Workflow file for this run

name: Test & release
on:
pull_request:
push:
branches: [master]
jobs:
validate:
name: Build and test
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
- name: βŽ” Setup node
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
- name: πŸ“₯ Download deps
run: npm install
- name: ▢️ Run validate script
run: npm run validate
- name: Publish Test Report
uses: tradeshift/actions-junit-report@v4
if: ${{ always() }}
with:
check_name: Unit tests
report_paths: 'build/junit**/*.xml'
github_token: ${{ secrets.GITHUB_TOKEN }}
release:
name: πŸš€ Release
needs: [validate]
runs-on: ubuntu-latest
if: ${{ !github.event.fork &&
contains('refs/heads/master,refs/heads/beta,refs/heads/next,refs/heads/alpha',
github.ref) && github.event_name == 'push' }}
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
- name: βŽ” Setup node
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
- name: πŸ“₯ Download deps
run: npm install
- name: πŸ— Run build script
run: npm run --if-present build
- name: πŸš€ Release
uses: tradeshift/actions-semantic-release@v2
id: semantic-release
with:
npm_publish: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN_PUBLIC }}