From 6af2d6e0211738e23d6d424a6be56f87b86c3099 Mon Sep 17 00:00:00 2001 From: Joel Wetzell Date: Sun, 12 Oct 2025 14:11:52 -0500 Subject: [PATCH] update cli and resolver workflows for new NPM auth --- .github/workflows/build_cli.yml | 7 +++---- .github/workflows/build_resolver.yml | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build_cli.yml b/.github/workflows/build_cli.yml index 54505e195..35df4ddf0 100644 --- a/.github/workflows/build_cli.yml +++ b/.github/workflows/build_cli.yml @@ -45,10 +45,9 @@ jobs: - name: Copy external run: cp -R apps/server/src/external apps/cli/external - - name: Setup pnpm auth config - run: pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}" - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} + # This will be included in v24 of NodeJS so when the project upgrades to that this can be removed + - name: Install newer version of npm + run: npm install -g npm@11 - name: Publish to NPM run: pnpm publish --access public --no-git-checks diff --git a/.github/workflows/build_resolver.yml b/.github/workflows/build_resolver.yml index 1e0f8d320..5513bef82 100644 --- a/.github/workflows/build_resolver.yml +++ b/.github/workflows/build_resolver.yml @@ -34,10 +34,9 @@ jobs: - name: Build project packages run: pnpm build:resolver - - name: Setup pnpm auth config - run: pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}" - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} + # This will be included in v24 of NodeJS so when the project upgrades to that this can be removed + - name: Install newer version of npm + run: npm install -g npm@11 - name: Publish to NPM run: pnpm publish --access public --no-git-checks