From 52a4bbf4993d4db44c4ada2519bc4907116a3b11 Mon Sep 17 00:00:00 2001 From: Chris Manson Date: Tue, 7 Oct 2025 14:59:06 +0100 Subject: [PATCH] prepare for using oidc for deployment --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 79eb622a..edf1d8dc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -36,8 +36,8 @@ jobs: registry-url: 'https://registry.npmjs.org' cache: pnpm - run: pnpm install --frozen-lockfile + - run: npm install -g npm@latest # we are doing this to make sure theat the gloabally installed npm is new enough to support OIDC - name: Publish to NPM run: NPM_CONFIG_PROVENANCE=true pnpm release-plan publish env: GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }} - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}