Enable codecov bundle analysis (#3313)
This commit is contained in:
11
.github/workflows/coverage.yaml
vendored
11
.github/workflows/coverage.yaml
vendored
@@ -47,6 +47,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
id-token: write
|
||||
contents: read
|
||||
|
||||
steps:
|
||||
@@ -56,12 +57,18 @@ jobs:
|
||||
- name: Install Node
|
||||
uses: actions/setup-node@v4.0.4
|
||||
with:
|
||||
node-version: 18
|
||||
node-version: 20
|
||||
|
||||
- name: Install Node dependencies
|
||||
working-directory: ./frontend
|
||||
run: npm ci
|
||||
|
||||
- name: Build the frontend
|
||||
working-directory: ./frontend
|
||||
run: npm run build
|
||||
env:
|
||||
UPLOAD_CODECOV_BUNDLE: "true"
|
||||
|
||||
- name: Test
|
||||
working-directory: ./frontend
|
||||
run: npm run coverage
|
||||
@@ -112,7 +119,7 @@ jobs:
|
||||
- name: Install Node
|
||||
uses: actions/setup-node@v4.0.4
|
||||
with:
|
||||
node-version: 18
|
||||
node-version: 20
|
||||
|
||||
- name: Install Node dependencies
|
||||
working-directory: ./frontend
|
||||
|
||||
Reference in New Issue
Block a user