Skip to content

Commit cfbe3f9

Browse files
ci: ensure npm trusted publishing compatibility
1 parent 1e6ea2c commit cfbe3f9

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
publish:
1010
runs-on: ubuntu-latest
1111
permissions:
12+
contents: read
1213
id-token: write
1314
steps:
1415
- uses: actions/checkout@v4
@@ -18,6 +19,10 @@ jobs:
1819
node-version: '22'
1920
registry-url: 'https://registry.npmjs.org'
2021

22+
- run: npm install -g npm@latest
23+
24+
- run: npm --version
25+
2126
- run: yarn install --immutable
2227

2328
- run: yarn prepare

0 commit comments

Comments
 (0)