File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed
Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -296,6 +296,9 @@ jobs:
296296 - name : Install dependencies
297297 run : npm ci
298298
299+ - name : Verify npm version
300+ run : npm --version
301+
299302 - name : Release --dry-run
300303 if : ${{ github.event.inputs.dryRun == 'true'}}
301304 run : |
Original file line number Diff line number Diff line change 1616 ],
1717 "publishConfig" : {
1818 "access" : " public" ,
19- "provenance" : true
19+ "provenance" : true ,
20+ "registry" : " https://registry.npmjs.org"
2021 },
2122 "main" : " dist/mparticle.common.js" ,
2223 "module" : " dist/mparticle.esm.js" ,
Original file line number Diff line number Diff line change @@ -33,11 +33,17 @@ module.exports = {
3333 changelogFile : 'CHANGELOG.md' ,
3434 } ,
3535 ] ,
36- [ '@semantic-release/npm' ] ,
36+ [
37+ '@semantic-release/npm' ,
38+ {
39+ npmPublish : false , // Disable npm publish here; we use exec with OIDC instead
40+ } ,
41+ ] ,
3742 [
3843 '@semantic-release/exec' ,
3944 {
4045 prepareCmd : 'sh ./scripts/release.sh' ,
46+ publishCmd : 'npm publish' ,
4147 } ,
4248 ] ,
4349 [
You can’t perform that action at this time.
0 commit comments