File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -10,9 +10,6 @@ inputs:
1010 description : Destination path for the downloaded build artifact
1111 default : dist
1212 required : false
13- publishToNpm :
14- description : Enable this to publish artifacts to NPM
15- required : false
1613 withoutBuiltArtifact :
1714 description : Indicates that no artifact should be downloaded
1815 required : false
5148 token : ${{ inputs.GITHUB_TOKEN }}
5249
5350 # install node_modules since there might be a dependency from husky which is invoked during npm publish
54- - if : inputs.publishToNpm == 'true'
55- uses : ./.github/actions/npm-install
51+ - uses : ./.github/actions/npm-install
5652
5753 - if : inputs.withoutBuiltArtifact != 'true'
5854 name : Download artifact
7975 echo ""
8076
8177 - name : Configure npm for GitHub Packages
82- if : inputs.publishToNpm == 'true'
8378 shell : bash
8479 run : |
8580 npm config set @cloudbeds:registry https://npm.pkg.github.com
@@ -110,7 +105,7 @@ runs:
110105 if (inputs.withoutNpmPlugin !== 'true') {
111106 plugins.push([
112107 '@semantic-release/npm',
113- { npmPublish: inputs.publishToNpm === ' true' },
108+ { npmPublish: true },
114109 ]);
115110 }
116111
Original file line number Diff line number Diff line change 2424 - name : Semantic Release
2525 uses : cloudbeds/webpack-module-federation-types-plugin/.github/actions/semantic-release@main
2626 with :
27- publishToNpm : true
2827 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments