Skip to content

Publish to npm

Publish to npm #4

Workflow file for this run

name: Publish to npm
on:
release:
types: [published]
workflow_dispatch:
permissions:
contents: read
id-token: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- run: yarn install --immutable --immutable-cache --check-cache
- run: yarn build
- run: npm publish