File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 32
32
uses :
thefringeninja/[email protected]
33
33
id : version
34
34
with :
35
+ minimum-major-minor : 2.0.0
35
36
tag-prefix : v
36
37
- name : Build Version
37
38
run : |
@@ -45,15 +46,15 @@ jobs:
45
46
run : npm run lint
46
47
- name : Run Tests
47
48
run : npm test
49
+ - name : Publish Release Packages
50
+ if : startsWith(github.ref, 'refs/tags/v') && matrix.os == 'ubuntu-latest'
51
+ run : npm publish --workspaces --access public
52
+ env :
53
+ NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
48
54
- name : Push CI Packages
49
55
if : github.event_name != 'pull_request' && matrix.os == 'ubuntu-latest'
50
56
run : |
51
57
echo @exceptionless:registry=https://npm.pkg.github.com >> .npmrc
52
58
npm publish --workspaces --access public
53
59
env :
54
60
NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
55
- - name : Publish Release Packages
56
- if : startsWith(github.ref, 'refs/tags/v') && matrix.os == 'ubuntu-latest'
57
- run : npm publish --workspaces --access public
58
- env :
59
- NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
You can’t perform that action at this time.
0 commit comments