fix(deps): update dependency eslint to ^8.57.1 #855
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |