Bump eslint from 8.57.0 to 9.11.0 #340
Workflow file for this run
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
on: [push] | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20.x' | |
registry-url: 'https://registry.npmjs.org' | |
cache: npm | |
- run: npm ci | |
- run: npm test | |
# always pass when ref_type == 'branch' | |
- uses: dr666m1/tag-version-match@main | |
with: | |
file: ./package.json | |
query: .version | |
pattern: '^([0-9]+\.[0-9]+\.[0-9]+)$' | |
- run: npm publish | |
if: ${{ github.ref_type == 'tag' }} | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |