We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 996f02c + 68d45fc commit 948c4faCopy full SHA for 948c4fa
1 file changed
.github/workflows/main.yml
@@ -61,10 +61,13 @@ jobs:
61
# - run: npm ci
62
- run: npm install --no-package-lock
63
64
- # TODO: Add --provenance once the repo is public
+ # OIDC trusted publishing requires npm >=11.5.1; Node 22's bundled npm is 10.x.
65
+ - name: Ensure npm CLI supports OIDC trusted publishing
66
+ run: npm install -g npm@^11.5.1
67
+
68
- run: npm run publish-all
69
env:
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
70
+ NPM_CONFIG_PROVENANCE: "true"
71
72
publish-github-container-registry:
73
runs-on: ubuntu-latest
0 commit comments