diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6d9defb2..a74c48ff 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -69,11 +69,10 @@ jobs: uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: ref: ${{ needs.identity.outputs.commit }} - - name: Setup Node and npm registry + - name: Setup Node uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6 with: node-version: ${{ env.NODE_VERSION }} - registry-url: https://registry.npmjs.org - name: Install pinned npm run: npm install --global "npm@$NPM_VERSION" - name: Setup Bun diff --git a/scripts/workflow-contract.test.ts b/scripts/workflow-contract.test.ts index 6fa6b089..ddf15f61 100644 --- a/scripts/workflow-contract.test.ts +++ b/scripts/workflow-contract.test.ts @@ -160,6 +160,7 @@ describe("CI and release workflow contracts", () => { expect(setupStep(publish, "actions/setup-node")?.with?.["node-version"]).toBe( WORKFLOW_NODE_VERSION, ); + expect(setupStep(publish, "actions/setup-node")?.with?.["registry-url"]).toBeUndefined(); expect(setupStep(publish, "oven-sh/setup-bun")?.with?.["bun-version"]).toBe( WORKFLOW_BUN_VERSION, );