Skip to content

v1.7.0

v1.7.0 #24

Workflow file for this run

name: Publish to NPM
on:
release:
types: [published]
jobs:
build:
name: "Build and Deploy"
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm run linter
- run: npm run test
- run: npm run build
- run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}