Skip to content

docs: update readme #135

docs: update readme

docs: update readme #135

Workflow file for this run

name: Publish
on:
push:
branches:
- "main"
workflow_dispatch:
jobs:
publish_npm:
name: Publish production NPM packages
runs-on: ubuntu-latest
if: "contains(github.event.head_commit.message, 'chore: version packages')"
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Prepare repository
run: git checkout main
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "18"
cache: "yarn"
- name: Install monorepo deps
run: yarn --frozen-lockfile
- name: Setup .npmrc
run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish
run: yarn lerna publish from-package --yes