Skip to content

Bump eslint from 8.57.0 to 9.6.0 #104

Bump eslint from 8.57.0 to 9.6.0

Bump eslint from 8.57.0 to 9.6.0 #104

Workflow file for this run

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}}