Skip to content

1.0.3

1.0.3 #3

Workflow file for this run

name: npm
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout 🔧
uses: actions/[email protected]
- name: Install pnpm 🔧
uses: pnpm/[email protected]
with:
version: 8
- name: Setup Node 🔧
uses: actions/[email protected]
with:
node-version: '20.x'
cache: pnpm
registry-url: 'https://registry.npmjs.org'
- name: build and Publish package on NPM 📦
run: |
pnpm install --frozen-lockfile
pnpm build
npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}