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 02f882b commit 8bbc26dCopy full SHA for 8bbc26d
.github/workflows/test.yml
@@ -52,6 +52,24 @@ jobs:
52
CI: true
53
54
55
+ tag:
56
+ name: Tag
57
+ runs-on: ubuntu-latest
58
+ steps:
59
+ - name: checkout
60
+ uses: actions/checkout@v2
61
+ - name: setup Node
62
+ uses: actions/setup-node@v2
63
+ - name: package-version-to-git-tag
64
+ uses: pkgdeps/git-tag-action@v2
65
+ with:
66
+ github_token: ${{ secrets.GITHUB_TOKEN }}
67
+ github_repo: ${{ github.repository }}
68
+ git_commit_sha: ${{ github.sha }}
69
+ version: "1.0.0"
70
+ git_tag_prefix: "v"
71
+
72
73
# publish if the version number in package.json differs from the latest on NPM
74
publish:
75
needs: test
0 commit comments