We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88cf5a1 commit 414734dCopy full SHA for 414734d
.github/workflows/npm-publish.yml
@@ -37,11 +37,13 @@ jobs:
37
git config user.email [email protected]
38
- name: Update version
39
run: |
40
+ git fetch
41
+ git checkout main
42
VERSION=${GITHUB_REF#refs/tags/}
43
npm version ${VERSION} --no-git-tag-version
44
git add package.json
45
git commit -m "Update version to ${VERSION}"
- git push
46
+ git push origin main
47
env:
48
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
49
- run: npm ci
0 commit comments