Skip to content

v4.5.2

v4.5.2 #16

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 }}