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 0e78132 commit 59bdce2
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:
checker:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"

steps:
- name: Install dependencies
uses: ./catch-and-install-pnpm.yml
Expand All @@ -24,15 +23,11 @@ jobs:
strategy:
matrix:
shard: [1, 2, 3, 4]

steps:
- 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 }}
package-manager: pnpm
run: pnpm test:ci-ee ${{ matrix.shard }} ${{ strategy.job-total }}

test-ce:
runs-on: ubuntu-latest
Expand All @@ -41,18 +36,16 @@ jobs:
- name: Install dependencies
uses: ./catch-and-install-pnpm.yml
- name: Coverage test report ce
with:
skip-step: install
test-script: pnpm test:ci-ce
package-manager: pnpm
run: pnpm test:ci-ce

report:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- name: Install dependencies
uses: ArtiomTr/jest-coverage-report-action@v2
uses: ./catch-and-install-pnpm.yml
- name: Coverage test report
uses: ArtiomTr/jest-coverage-report-action@v2
with:
skip-step: install
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 59bdce2

Please sign in to comment.