Skip to content

Update dependency typescript-eslint to ^8.19.0 (#233) #522

Update dependency typescript-eslint to ^8.19.0 (#233)

Update dependency typescript-eslint to ^8.19.0 (#233) #522

Workflow file for this run

name: Publish to npm
on:
push:
branches:
- main
jobs:
publish-to-npm:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
persist-credentials: false
- name: Cache dependencies
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4
with:
path: ~/.npm
key: ${{ runner.OS }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-npm-
${{ runner.OS }}-
- name: Setup Node.js environment
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
with:
node-version-file: ".nvmrc"
- name: Install dependencies
run: npm ci
- name: Lint code
run: npm run lint
- name: Typescript
run: npm run tsc
- name: Build
run: npm run build
- name: Run tests
run: npm run test
- name: Publish to npm
run: npm run publish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}