Skip to content

Merge pull request #16 from fromancient/chore/package-update #19

Merge pull request #16 from fromancient/chore/package-update

Merge pull request #16 from fromancient/chore/package-update #19

Workflow file for this run

name: Publish NPM packages
on:
push:
branches: ['main']
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: pnpm
registry-url: 'https://registry.npmjs.org'
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpm publish --recursive --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}