Bump eslint from 8.57.0 to 9.6.0 #104
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
name: Build | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout ποΈ | |
uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Setup π | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
registry-url: https://registry.npmjs.org/ | |
- name: Install dependencies π¨π»βπ» | |
run: npm ci | |
- name: Run tests π§ͺ | |
run: npm t | |
- name: Publish π | |
if: startsWith(github.ref, 'refs/tags/') | |
run: npm publish --access public | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}} | |
- name: Publish to GitHub π | |
if: startsWith(github.ref, 'refs/tags/') | |
run: | | |
npm set //npm.pkg.github.com/:_authToken $GITHUB_TOKEN | |
npm publish --access public --@moccu:registry=https://npm.pkg.github.com | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |