Skip to content

Commit b63ac8b

Browse files
committed
WIP
1 parent 4a58285 commit b63ac8b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/npmpublish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,25 +22,25 @@ jobs:
2222

2323
# checkout the repo
2424
- uses: actions/checkout@v2
25+
- uses: actions/setup-node@v1
26+
- run: npm ci
2527

2628
# extract tag name
2729
- id: branch_name
30+
name: Get branch name
2831
run: |
2932
echo ::set-output name=SOURCE_NAME::${GITHUB_REF#refs/*/}
3033
echo ::set-output name=SOURCE_BRANCH::${GITHUB_REF#refs/heads/}
3134
echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/}
3235
33-
# npm install
34-
- uses: actions/setup-node@v1
35-
- run: npm ci
36-
3736
# update version
3837
- id: update_version
38+
name: Update version
3939
run: |
4040
echo $SOURCE_NAME
4141
echo $SOURCE_BRANCH
4242
echo $SOURCE_TAG
43-
npm version $SOURCE_TAG
43+
npm version $SOURCE_TAG --no-commit-hooks
4444
env:
4545
SOURCE_NAME: ${{ steps.branch_name.outputs.SOURCE_NAME }}
4646
SOURCE_BRANCH: ${{ steps.branch_name.outputs.SOURCE_BRANCH }}

0 commit comments

Comments
 (0)