Skip to content

Commit 587dfbc

Browse files
committed
update workflow
1 parent 91db060 commit 587dfbc

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

.github/workflows/publish-npm.yml

-6
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,7 @@ jobs:
2222
# diff the commits rather than commit message for version changes
2323
diff-search: true
2424

25-
- name: Version update detected
26-
if: steps.version_check.outputs.changed == 'true'
27-
run: 'echo "Version change found! New version: ${{ steps.version_check.outputs.version }} (${{ steps.version_check.outputs.type }})"'
28-
2925
- name: Setup .npmrc file for NPM registry
30-
if: steps.version_check.outputs.changed == 'true'
3126
uses: actions/setup-node@v3
3227
with:
3328
node-version: 16.x
@@ -44,7 +39,6 @@ jobs:
4439
cmd: build
4540

4641
- name: Publish package to NPM
47-
if: steps.version_check.outputs.changed == 'true'
4842
run: |
4943
git fetch --tags
5044
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc

0 commit comments

Comments
 (0)