Skip to content

Npm Publish

Npm Publish #1

Workflow file for this run

name: Npm Publish
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
registry-url: https://registry.npmjs.org/
- run: yarn install --immutable
name: Install dependencies
- run: npm run build -ws
name: Build packages
- run: npm publish --access public -ws
name: Publish packages
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}