Skip to content

Publish package to npm registry #4

Publish package to npm registry

Publish package to npm registry #4

Workflow file for this run

name: Publish package to npm registry
on:
release:
types:
- published
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: mreg-io/setup-pnpm@v1
with:
registry-url: 'https://registry.npmjs.org/'
- name: Publish
run: pnpm publish --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}