File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -224,6 +224,9 @@ jobs:
224224 runs-on : ubuntu-24.04
225225 needs : [codegen, build-typescript]
226226 if : ${{ !inputs.dry_run }}
227+ permissions :
228+ contents : read
229+ id-token : write
227230 steps :
228231 - name : Download NPM package
229232 uses : actions/download-artifact@v4
@@ -236,10 +239,11 @@ jobs:
236239 node-version : " 22"
237240 registry-url : " https://registry.npmjs.org"
238241
242+ - name : Install NPM CLI
243+ run : npm install -g npm@latest
244+
239245 - name : Publish to NPM
240- run : npm publish --access public
241- env :
242- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
246+ run : npm publish
243247
244248 publish-jsr :
245249 runs-on : ubuntu-24.04
Original file line number Diff line number Diff line change 33 "description" : " Protobuf definitions for the Meshtastic project" ,
44 "version" : " __PACKAGE_VERSION__" ,
55 "homepage" : " https://github.com/meshtastic/protobufs" ,
6+ "repository" : {
7+ "type" : " git" ,
8+ "url" : " git+https://github.com/meshtastic/protobufs.git"
9+ },
610 "license" : " GPLV3" ,
711 "publishConfig" : {
812 "access" : " public"
You can’t perform that action at this time.
0 commit comments