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 88 - ' *'
99 workflow_dispatch :
1010
11- permissions :
12- contents : read
13- id-token : write
11+ permissions : {}
1412
1513jobs :
1614 build :
1715 runs-on : ubuntu-latest
1816 timeout-minutes : 10
17+ permissions :
18+ contents : read
19+ id-token : write
1920 environment :
2021 name : npm
2122 url : https://www.npmjs.com/package/@wp-hooks/wordpress-core
@@ -29,10 +30,12 @@ jobs:
2930 node-version-file : ' .nvmrc'
3031 registry-url : https://registry.npmjs.org
3132
33+ # Ensure npm 11.5.1 or later is installed
34+ - name : Update npm
35+ run : npm install -g npm@latest
36+
3237 - name : Install dependencies
3338 run : npm ci
3439
3540 - name : Publish package
36- run : npm publish --provenance --access public
37- env :
38- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
41+ run : npm publish --access public
You can’t perform that action at this time.
0 commit comments