Skip to content

Commit c7a1761

Browse files
authored
Merge pull request #9 from ThemeParks/ci/bump-npm-for-oidc
ci: bump npm before publish for OIDC trusted publishing
2 parents f8d0ee9 + 64925a9 commit c7a1761

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
node-version: 20
2020
cache: npm
2121
registry-url: https://registry.npmjs.org
22+
- run: npm install -g npm@latest # trusted publishing requires npm >= 11.5.1
2223
- run: npm ci
2324
- run: npm run lint && npm run typecheck && npm test && npm run build
2425
- run: npm publish --provenance --access public

0 commit comments

Comments
 (0)