Skip to content

1.5.1

1.5.1 #72

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: '16.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies and build 🔧
run: | # Install and link dependencies
npm ci
npx lerna bootstrap
- name: Version and publish
id: graduateRelease
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 }}