File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4949 - name : Setup Node.js
5050 uses : actions/setup-node@v6
5151 with :
52- node-version : " 20 "
53- cache : " npm"
52+ node-version : 20
53+ cache : npm
5454
5555 - name : Install NAPI-RS CLI
5656 run : npm install -g @napi-rs/cli
Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ jobs:
185185 - name : Setup Node
186186 uses : actions/setup-node@v6
187187 with :
188- node-version : 20
188+ node-version : 24
189189 registry-url : https://registry.npmjs.org/
190190 package-manager-cache : false
191191 - name : Install Node.js dependencies
@@ -209,8 +209,10 @@ jobs:
209209 ls -la npm/ 2>/dev/null || dir npm
210210 - name : Compile TypeScript for publishing
211211 run : task compile
212+ - name : Clean npm cache before publish
213+ run : npm cache clean --force
212214 - name : Publish to npm
213- run : npm publish --provenance
215+ run : npm publish
214216 - name : Upload npm logs
215217 if : always()
216218 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -54,8 +54,7 @@ for (const platform of platforms) {
5454
5555 if ( ! isDryRun ) {
5656 try {
57- // Use npm publish with --access public for scoped packages
58- execSync ( "npm publish --access public" , {
57+ execSync ( "npm publish" , {
5958 cwd : platformDir ,
6059 stdio : "inherit" ,
6160 } ) ;
You can’t perform that action at this time.
0 commit comments