File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed
Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,14 @@ jobs:
1313 runs-on : ubuntu-latest
1414
1515 permissions :
16+ contents : read
1617 # https://docs.npmjs.com/generating-provenance-statements#publishing-packages-with-provenance-via-github-actions
1718 id-token : write
1819
1920 steps :
20- - uses : actions/checkout@v4.2.2
21+ - uses : actions/checkout@v6
2122 - run : corepack enable
22- - uses : actions/setup-node@v4.1.0
23+ - uses : actions/setup-node@v6
2324 with :
2425 node-version : 22.x
2526 registry-url : https://registry.npmjs.org
3334 - run : yarn pack
3435 - name : Publish to NPM
3536 if : ${{ startsWith(github.ref, 'refs/tags/v') }}
36- # `yarn npm publish` does not currently support --provenance: https://github.com/yarnpkg/berry/issues/5430
37- run : npm publish package.tgz --provenance --access public
38- env :
39- NODE_AUTH_TOKEN : ${{ secrets.NPM_PUBLISH_TOKEN }}
37+ run : npx npm@latest publish package.tgz --provenance --access public
Original file line number Diff line number Diff line change 110110! .yarn /plugins
111111! .yarn /sdks
112112* .tgz
113+ .DS_Store
Original file line number Diff line number Diff line change 55 "license" : " MIT" ,
66 "repository" : {
77 "type" : " git" ,
8- "url" : " https://github.com/foxglove/message-definition.git"
8+ "url" : " git+ https://github.com/foxglove/message-definition.git"
99 },
1010 "keywords" : [
1111 " schema" ,
You can’t perform that action at this time.
0 commit comments