Skip to content

5.2.7

5.2.7 #6

Workflow file for this run

name: NPM Publish
on:
push:
tags:
- 'v*'
release:
types: [published]
jobs:
publish-npm:
runs-on: ubuntu-24.04
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
registry-url: https://registry.npmjs.org/
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Publish package
run: pnpm publish --provenance --access public --no-git-checks
env:
NPM_CONFIG_PROVENANCE: true
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}