Skip to content

Commit

Permalink
[fix]: update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
LZS911 committed Mar 1, 2024
1 parent d4eaeea commit 0e78132
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ jobs:
if: "!contains(github.event.head_commit.message, '[skip ci]')"

steps:
- uses: ./catch-and-install-pnpm.yml
- name: Install dependencies
uses: ./catch-and-install-pnpm.yml
- name: Code lint checker
run: pnpm checker

Expand All @@ -25,8 +26,9 @@ jobs:
shard: [1, 2, 3, 4]

steps:
- uses: ./catch-and-install-pnpm.yml
name: Coverage test report ee
- name: Install dependencies
uses: ./catch-and-install-pnpm.yml
- name: Coverage test report ee
with:
skip-step: install
test-script: pnpm test:ci-ee ${{ matrix.shard }} ${{ strategy.job-total }}
Expand All @@ -36,7 +38,8 @@ jobs:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- uses: ./catch-and-install-pnpm.yml
- name: Install dependencies
uses: ./catch-and-install-pnpm.yml
- name: Coverage test report ce
with:
skip-step: install
Expand All @@ -47,7 +50,8 @@ jobs:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- uses: ArtiomTr/jest-coverage-report-action@v2
- name: Install dependencies
uses: ArtiomTr/jest-coverage-report-action@v2
- name: Coverage test report
with:
skip-step: install
Expand Down

0 comments on commit 0e78132

Please sign in to comment.