Skip to content

Commit f3288e1

Browse files
Update npm-publish.yml
1 parent 976f718 commit f3288e1

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/npm-publish.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,17 @@ jobs:
1414
with:
1515
node-version: 14
1616
registry-url: https://registry.npmjs.org/
17-
- run: yarn publish
17+
- name: bump version
18+
run: |
19+
git config --global user.email "git@wednesday.is"
20+
git config --global user.name "Git"
21+
npm version patch -m 'Bump up'
22+
- name: Push changes
23+
uses: ad-m/github-push-action@master
24+
with:
25+
github_token: ${{ secrets.GITHUB_TOKEN }}
26+
branch: ${{ github.ref }}
27+
- name: Publish
28+
run: yarn publish
1829
env:
1930
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)