File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 8383 npm :
8484 name : Publish to npm
8585 runs-on : ubuntu-latest
86+ permissions :
87+ contents : read
88+ id-token : write
8689 steps :
8790 - name : 🧮 Checkout code
8891 uses : actions/checkout@v4
@@ -97,6 +100,10 @@ jobs:
97100 cache-dependency-path : platforms/web/yarn.lock
98101 registry-url : " https://registry.npmjs.org"
99102
103+ # Ensure npm 11.5.1 or later is installed
104+ - name : Update npm
105+ run : npm install -g npm@latest
106+
100107 - name : 🔨 Install dependencies
101108 run : " yarn install --pure-lockfile"
102109 working-directory : platforms/web
@@ -106,9 +113,5 @@ jobs:
106113 working-directory : platforms/web
107114
108115 - name : 🚀 Publish to npm
109- id : npm-publish
110- uses : JS-DevTools/npm-publish@v3
111- with :
112- package : platforms/web/package.json
113- token : ${{ secrets.NPM_TOKEN }}
114- access : public
116+ run : npm publish --access public --provenance
117+ working-directory : platforms/web
You can’t perform that action at this time.
0 commit comments