Browse Source
maintenance: update ci
(cherry picked from commit 10e35c5d3e4391e22fd005f04ab7be0e503c971a)
20230320
MengYX
3 years ago
No known key found for this signature in database
GPG Key ID: E63F9C7303E8F604
1 changed files with
7 additions and
7 deletions
-
.github/workflows/build.yml
|
@ -21,6 +21,13 @@ on: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
jobs: |
|
|
jobs: |
|
|
|
|
|
test-coverage: |
|
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
|
steps: |
|
|
|
|
|
- name: Test Coverage |
|
|
|
|
|
uses: ArtiomTr/jest-coverage-report-action@v2.0-rc.6 |
|
|
|
|
|
with: |
|
|
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }} |
|
|
build: |
|
|
build: |
|
|
runs-on: ubuntu-latest |
|
|
runs-on: ubuntu-latest |
|
|
strategy: |
|
|
strategy: |
|
@ -44,13 +51,6 @@ jobs: |
|
|
- name: Install Dependencies |
|
|
- name: Install Dependencies |
|
|
run: npm ci |
|
|
run: npm ci |
|
|
|
|
|
|
|
|
- name: Test Coverage |
|
|
|
|
|
uses: ArtiomTr/jest-coverage-report-action@v2.0-rc.6 |
|
|
|
|
|
with: |
|
|
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Build |
|
|
- name: Build |
|
|
run: npm run build ${{ matrix.BUILD_ARGS }} |
|
|
run: npm run build ${{ matrix.BUILD_ARGS }} |
|
|
|
|
|
|
|
|