Skip to content

Publish

Publish #18

Workflow file for this run

name: Publish
on:
release:
types:
- published
permissions: read-all
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout tree
uses: actions/checkout@v4
- name: Set-up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
check-latest: true
- run: corepack enable
- run: yarn install --immutable
- run: yarn npm publish --tolerate-republish
env:
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}