Skip to content

Commit b9858da

Browse files
fix(ci): uncomment ci pipeline
1 parent 0807bbe commit b9858da

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/actions/publish-npm/action.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff 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' }}

0 commit comments

Comments
 (0)