Skip to content

Commit

Permalink
Merge branch 'v2' into th/ci-test
Browse files Browse the repository at this point in the history
  • Loading branch information
tonghauhive committed Dec 11, 2023
2 parents 598bc68 + c069b49 commit f68fd49
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/publish-dummy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ name: Publish Dummy
on:
push:
tags:
- 'sgds/v[0-9]+.[0-9]+.[0-9]+-alpha.[0-9]+'
- 'dummy/v[0-9]+.[0-9]+.[0-9]+'
- 'dummy-x-family/v[0-9]+.[0-9]+.[0-9]+'

jobs:
publish:
publish-sgds:
if: startsWith(github.ref, 'refs/tags/dummy/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -16,7 +18,15 @@ jobs:
registry-url: 'https://registry.npmjs.org'
- run: npm run lib:install
- run: npm run lib:build
- run: cd lib/sgds-x-family
# - run: npm publish --tag latest --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: cd lib/sgds
publish-sgds-x-family:
if: startsWith(github.ref, 'refs/tags/dummy-x-family/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
registry-url: 'https://registry.npmjs.org'
- name: Print Hello
run: echo "Hello!"

0 comments on commit f68fd49

Please sign in to comment.