Skip to content

Commit 7c9cdf1

Browse files
committed
use 2.0 as min ver
1 parent 19153c5 commit 7c9cdf1

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
uses: thefringeninja/[email protected]
3333
id: version
3434
with:
35+
minimum-major-minor: 2.0.0
3536
tag-prefix: v
3637
- name: Build Version
3738
run: |
@@ -45,15 +46,15 @@ jobs:
4546
run: npm run lint
4647
- name: Run Tests
4748
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}}
4854
- name: Push CI Packages
4955
if: github.event_name != 'pull_request' && matrix.os == 'ubuntu-latest'
5056
run: |
5157
echo @exceptionless:registry=https://npm.pkg.github.com >> .npmrc
5258
npm publish --workspaces --access public
5359
env:
5460
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}}

0 commit comments

Comments
 (0)