Skip to content

update publish action #6

update publish action

update publish action #6

Workflow file for this run

name: CI
on: [push]
jobs:
build:
name: Build, lint, and test
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Use Node 19.x
uses: actions/setup-node@v1
with:
node-version: "19.x"
- name: Install deps
run: yarn
- name: Build
run: yarn build
- name: Bump Package Versions
run: npx lerna version --conventional-commits --yes
- name: Push changes
run: |
git push origin main
git push --tags
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish Packages
run: |
npx lerna publish from-package --yes
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}