Skip to content

4.5.4

4.5.4 #18

Workflow file for this run

name: Publish npm Package
on:
workflow_dispatch:
release:
types: [published]
jobs:
publish-gpr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: 8.13.0
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
registry-url: "https://registry.npmjs.org"
cache: "pnpm"
- name: 📦️ Install dependencies
run: pnpm install --no-frozen-lockfile
- name: 🏗️ Build
run: |
pnpm build
- name: 🚀️ Publish to NPM
run: pnpm publish --no-git-checks --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}