Skip to content

Publish Packages to NPM #3

Publish Packages to NPM

Publish Packages to NPM #3

Workflow file for this run

name: Publish Packages to NPM
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
#- uses: actions/setup-node@v4
# with:
# node-version: 16
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
run_install: |
- args: [--frozen-lockfile]
- name: Build packages
run: pnpm --filter './packages/*' run build
- name: Publish packages
run: pnpm publish --recursive --no-git-checks --access=public
env:
npm_config__authtoken: ${{ secrets.NPM_TOKEN }}