From da0e22c7a40e63f0afb08639d8a5d4a19eea204e Mon Sep 17 00:00:00 2001 From: shihanwan Date: Wed, 24 Apr 2024 12:14:52 -0400 Subject: [PATCH] address review comments --- .github/workflows/publish-npm.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index ad49e6c..c3678dd 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -46,7 +46,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - uses: pnpm/action-setup@v2 + - uses: ./tooling/github/setup name: Install pnpm with: version: 8 @@ -62,7 +62,12 @@ jobs: - name: 📦️ Install dependencies run: pnpm install --frozen-lockfile - - name: 🚀 Publish to npm + - name: 🚀 Publish bumpgen-core to npm + run: pnpm publish packages/bumpgen-core + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + + - name: 🚀 Publish bumpgen cli to npm shell: bash run: pnpm publish apps/cli env: