Skip to content

2.0.1

2.0.1 #75

Workflow file for this run

name: Publish
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: main
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npx lerna bootstrap
- run: npx lerna run build
- name: Version and publish
run: |
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor}}@users.noreply.github.com"
npx lerna publish from-package -y
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}