Skip to content

v3.0.0-next.1

v3.0.0-next.1 #14

Workflow file for this run

name: Publish Package
on:
release:
types: [created]
jobs:
npm-publish:
name: Publish Package to npmjs
runs-on: ubuntu-latest
steps:
# Check out project
- uses: actions/checkout@v4
# Install pnpm, Node 20, and dependencies
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: "https://registry.npmjs.org"
cache: pnpm
- run: pnpm install
# Build and publish
- run: pnpm build
- run: npm publish --access public --scope @prgm
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}