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 }}