mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-09 13:47:13 +02:00
chore: now we need to build before running tests (#9989)
This should fix the coverage report
This commit is contained in:
parent
d17d68d6aa
commit
23d55340f2
1
.github/workflows/build_coverage.yaml
vendored
1
.github/workflows/build_coverage.yaml
vendored
@ -45,6 +45,7 @@ jobs:
|
|||||||
- run: yarn install --immutable
|
- run: yarn install --immutable
|
||||||
env:
|
env:
|
||||||
YARN_ENABLE_SCRIPTS: false
|
YARN_ENABLE_SCRIPTS: false
|
||||||
|
- run: yarn run build:backend
|
||||||
- run: yarn run test:coverage
|
- run: yarn run test:coverage
|
||||||
env:
|
env:
|
||||||
CI: true
|
CI: true
|
||||||
|
1
.github/workflows/build_prs_jest_report.yaml
vendored
1
.github/workflows/build_prs_jest_report.yaml
vendored
@ -39,6 +39,7 @@ jobs:
|
|||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
- name: Enable corepack
|
- name: Enable corepack
|
||||||
run: corepack enable
|
run: corepack enable
|
||||||
|
- run: yarn build:backend
|
||||||
- name: Tests on 20.x
|
- name: Tests on 20.x
|
||||||
id: coverage
|
id: coverage
|
||||||
uses: ArtiomTr/jest-coverage-report-action@v2
|
uses: ArtiomTr/jest-coverage-report-action@v2
|
||||||
|
Loading…
Reference in New Issue
Block a user