From a5012d5d1d1c7a49f1dbb7058b353370a0d4e329 Mon Sep 17 00:00:00 2001 From: Ryan Bas Date: Mon, 24 Nov 2025 12:43:25 -0700 Subject: [PATCH] chore: update-npm-version-in-ci --- .github/workflows/publish.yml | 4 ++++ package.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ee7a4ffdb..0eb720a60 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -52,6 +52,9 @@ jobs: with: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + - run: npm install npm@latest -g + - run: npm --version + - name: publish uses: changesets/action@v1 id: changesets @@ -65,6 +68,7 @@ jobs: env: HOME: ${{ github.workspace }} GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + NPM_TOKEN: '' - name: Publish Release Steps if: steps.changesets.outputs.published == 'true' diff --git a/package.json b/package.json index 43559a1bc..0848e18d4 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "scripts": { "build": "nx affected --target=build", "changeset": "changeset", - "ci:release": "pnpm publish -r --no-git-checks && changeset tag", + "ci:release": "pnpm nx run-many -t build --no-agents && pnpm publish -r --no-git-checks && changeset tag", "ci:version": "changeset version && pnpm install --no-frozen-lockfile && pnpm nx format:write --uncommitted", "circular-dep-check": "madge --circular .", "clean": "shx rm -rf ./{coverage,dist,docs,node_modules,tmp}/ ./{packages,e2e}/*/{dist,node_modules}/ ./e2e/node_modules/ && git clean -fX -e \"!.env*,nx-cloud.env\" -e \"!**/GEMINI.md\"",