Skip to content

5.0.11

5.0.11 #27

Workflow file for this run

name: Publish to NPM
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
# Setup .npmrc file to publish to npm
- name: Install Node 22.0
uses: actions/setup-node@v4
with:
node-version: '22.0'
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm'
- name: Install deps and build (with cache)
run: pnpm install
- name: Publish build
run: pnpm publish --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}