ci(web): Install app deps before coverage
Install apps/web-app dependencies before running the dedicated coverage step in CI and publish workflows. This fixes the failing main workflow where app:test:coverage could not find vitest on GitHub runners because the web-app package had not been installed yet.
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -109,6 +109,9 @@ jobs:
|
||||
ENABLE_NETWORK_TESTS: "1"
|
||||
run: npm run test
|
||||
|
||||
- name: Install web-app dependencies
|
||||
run: npm run app:install
|
||||
|
||||
- name: Run web app coverage
|
||||
run: npm run app:test:coverage
|
||||
|
||||
@@ -229,6 +232,9 @@ jobs:
|
||||
ENABLE_NETWORK_TESTS: "1"
|
||||
run: npm run test
|
||||
|
||||
- name: Install web-app dependencies
|
||||
run: npm run app:install
|
||||
|
||||
- name: Run web app coverage
|
||||
run: npm run app:test:coverage
|
||||
|
||||
|
||||
6
.github/workflows/publish-npm.yml
vendored
6
.github/workflows/publish-npm.yml
vendored
@@ -48,15 +48,15 @@ jobs:
|
||||
- name: Run tests
|
||||
run: npm run test
|
||||
|
||||
- name: Install web-app dependencies
|
||||
run: npm run app:install
|
||||
|
||||
- name: Run web app coverage
|
||||
run: npm run app:test:coverage
|
||||
|
||||
- name: Run docs security checks
|
||||
run: npm run security:docs
|
||||
|
||||
- name: Install web-app dependencies
|
||||
run: npm run app:install
|
||||
|
||||
- name: Build web app
|
||||
run: npm run app:build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user