File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed
.github/workflows/actions/publish-npm Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -45,20 +45,20 @@ runs:
4545 echo "VERSION=$(node -p "require('./package.json').version")" >> $GITHUB_ENV
4646 shell : bash
4747 working-directory : ${{ inputs.working-directory }}
48- # - name: Run Build
49- # run: npm run build
50- # shell: bash
51- # working-directory: ${{ inputs.working-directory }}
52- # - name: Prepare NPM Token
53- # run: echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc
54- # working-directory: ${{ inputs.working-directory }}
55- # shell: bash
56- # env:
57- # NPM_TOKEN: ${{ inputs.token }}
58- # - name: Publish to NPM
59- # run: npm publish ${{ inputs.folder }} --tag ${{ inputs.tag }} --provenance
60- # shell: bash
61- # working-directory: ${{ inputs.working-directory }}
48+ - name : Run Build
49+ run : npm run build
50+ shell : bash
51+ working-directory : ${{ inputs.working-directory }}
52+ - name : Prepare NPM Token
53+ run : echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc
54+ working-directory : ${{ inputs.working-directory }}
55+ shell : bash
56+ env :
57+ NPM_TOKEN : ${{ inputs.token }}
58+ - name : Publish to NPM
59+ run : npm publish ${{ inputs.folder }} --tag ${{ inputs.tag }} --provenance
60+ shell : bash
61+ working-directory : ${{ inputs.working-directory }}
6262
6363 - name : Create Release
6464 if : ${{ inputs.createRelease == 'true' }}
You can’t perform that action at this time.
0 commit comments