Skip to content

v1.0.7

v1.0.7 #2

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 pkg delete scripts devDependencies
- run: npm publish --provenance --tag=latest
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}