File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,11 @@ jobs:
3838 # https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
3939 registry-url : ' https://registry.npmjs.org'
4040
41- - uses : pnpm/action-setup@v3
42- name : Install pnpm
43- with :
44- run_install : false
41+ # npm 11.5.1 or later is required so update to latest to use OIDC trusted publisher
42+ # https://github.com/eslint/config-inspector/pull/174/files
43+ # https://github.com/e18e/ecosystem-issues/issues/201
44+ - name : Update npm to latest for Trusted Publisher (OIDC)
45+ run : npm install -g npm@latest
4546
4647 - name : Install dependencies
4748 run : pnpm install --frozen-lockfile
5152
5253 - name : Packages publish
5354 run : pnpm publish -r --access public --no-git-checks
54- env :
55- NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
56- NPM_CONFIG_PROVENANCE : true
5755
5856 - name : Sync GitHub Release
5957 run : pnpm run changelogithub
You can’t perform that action at this time.
0 commit comments