Skip to content

v1.0.5

v1.0.5 #26

Workflow file for this run

name: Publish
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
permissions:
# https://docs.npmjs.com/generating-provenance-statements#publishing-packages-with-provenance-via-github-actions
id-token: write
steps:
- uses: actions/checkout@v4.2.2
with:
fetch-depth: 0
lfs: true
- name: Configure Node.js
uses: actions/setup-node@v4.1.0
with:
node-version: 20.x
registry-url: https://registry.npmjs.org/
- run: corepack enable
- run: yarn install --immutable
- run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_TOKEN}}