Skip to content

Commit

Permalink
fix: 修复github ci异常
Browse files Browse the repository at this point in the history
  • Loading branch information
三少 committed Aug 11, 2022
1 parent 976cdf5 commit fb98564
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
run: yarn
- name: bootstrap
run: yarn run bootstrap:lerna
- name: build-cli
run: npx lerna run build --scope=@antmjs/vantui-cli
- name: build
run: yarn run build
- name: lint
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: 16
registry-url: "https://registry.npmjs.org"
registry-url: 'https://registry.npmjs.org'
- name: Git Identity
run: |
git config --global user.name 'github-actions[bot]'
Expand All @@ -43,6 +43,9 @@ jobs:
- name: bootstrap
if: startsWith( env.commitmsg , 'chore(release):' )
run: yarn run bootstrap:lerna
- name: build-cli
if: startsWith( env.commitmsg , 'chore(release):' )
run: npx lerna run build --scope=@antmjs/vantui-cli
- name: build
if: startsWith( env.commitmsg , 'chore(release):' )
run: yarn run build
Expand Down Expand Up @@ -76,7 +79,7 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_repo: ${{ github.repository }}
git_commit_sha: ${{ github.sha }}
git_tag_prefix: "v"
git_tag_prefix: 'v'
- name: Create Release
id: create_release
if: startsWith( env.commitmsg , 'chore(release):' ) && steps.tag_check.outputs.exists_tag == 'false' && github.event.pull_request.merged == true
Expand Down

0 comments on commit fb98564

Please sign in to comment.