Skip to content

v1.0.6

v1.0.6 #1

Workflow file for this run

name: Publish (latest)
on:
release:
types: [created]
permissions:
id-token: write
jobs:
publish:
if: "!github.event.release.prerelease"
runs-on: ubuntu-latest
environment: npm
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: ".node-version"
registry-url: "https://registry.npmjs.org"
cache: "npm"
- run: npm ci
- run: npm run build
- run: npm publish --provenance --tag=latest
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}