Skip to content

Publish Package to npm #10

Publish Package to npm

Publish Package to npm #10

Workflow file for this run

name: Publish Package to npm
on:
push:
tags:
- "v**"
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 18
- uses: pnpm/action-setup@v2
with:
version: 8
run_install: true
- run: pnpm run build
- run: pnpm recursive publish --access public
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true