Skip to content

Release v1.0.0

Release v1.0.0 #1

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/[email protected]
with:
fetch-depth: 0
lfs: true
- name: Configure Node.js
uses: actions/[email protected]
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}}