Skip to content

Commit e3b39d9

Browse files
committed
chore(ci): to OIDC package publish
1 parent 488a9f1 commit e3b39d9

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,13 @@ jobs:
2626
cache: pnpm
2727
node-version: latest
2828
registry-url: https://registry.npmjs.org
29+
# npm 11.5.1 or later is required so update to latest to use OIDC trusted publisher
30+
# https://github.com/eslint/config-inspector/pull/174/files
31+
# https://github.com/e18e/ecosystem-issues/issues/201
32+
- run: npm install -g npm@latest
2933
- run: pnpm i
3034
- run: pnpm dlx changelogithub
3135
env:
3236
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3337
- run: pnpm -r build
3438
- run: pnpm -r publish --no-git-checks --access public
35-
env:
36-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
37-
NPM_CONFIG_PROVENANCE: true

0 commit comments

Comments
 (0)