Lerna Publish Minor V1 #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lerna Publish Minor V1 | |
on: | |
workflow_run: | |
workflows: ["Codegen Main V1"] | |
types: | |
- completed | |
workflow_dispatch: | |
jobs: | |
publish-npm: | |
name: Publish Minor Versions | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository 🛎️ | |
uses: actions/checkout@v4 | |
with: | |
submodules: "true" | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20.x' | |
registry-url: https://registry.npmjs.org/ | |
- name: Configure Git | |
run: | | |
git config user.name "${{ github.actor }}" | |
git config user.email "${{ github.actor}}@users.noreply.github.com" | |
- name: Publish v1 Minor Version | |
run: | | |
cd v1 | |
yarn | |
lerna publish minor --force-publish=chain-registry --no-verify-access --yes | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_SECRET}} | |
GH_TOKEN: ${{ secrets.GH_LERNA_PUBLISH_TOKEN }} |