Skip to content

Commit

Permalink
first test
Browse files Browse the repository at this point in the history
  • Loading branch information
goshiz committed Aug 28, 2023
1 parent bbefb4d commit 14dfd8d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,22 @@ jobs:
name: libs
path: dist/*
- name: Publish
if: startsWith(github.ref, 'refs/tags/')
uses: actions/setup-node@v1
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: |
echo //registry.npmjs.org/:_authToken=$NPM_TOKEN > .npmrc
npm version ${{ github.ref }}
npm publish
- name: tag releaseCandidate
if: startsWith(github.ref, 'refs/tags/') && contains(github.ref,'rc-')
uses: actions/setup-node@v1
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: |
echo //registry.npmjs.org/:_authToken=$NPM_TOKEN > .npmrc
npm version ${{ github.ref }}
npm publish --tag rc

0 comments on commit 14dfd8d

Please sign in to comment.