Skip to content

v0.0.1-preview

v0.0.1-preview #54

Workflow file for this run

name: NPM Publish
on:
release:
types: [created]
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: yarn install
- name: Build all packages
run: yarn workspaces run build
- name: Publish all packages
run: npx lerna publish from-git --yes --force-publish=* --registry https://registry.npmjs.org/
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}