mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Remove dev dependencies when running blackbox tests (#16271)
* Remove dev dependencies when running blackbox tests * Install dev dependencies in workspace root to run tests * Shift dependency to see if tests fail * Revert dependency shifting test * Remove specifying of shell
This commit is contained in:
9
.github/workflows/blackbox-main.yml
vendored
9
.github/workflows/blackbox-main.yml
vendored
@@ -42,6 +42,15 @@ jobs:
|
||||
- name: Prepare
|
||||
uses: ./.github/actions/prepare
|
||||
|
||||
- name: Prune Dependencies
|
||||
run: find . -type d -name node_modules -prune -exec rm -rf {} \;
|
||||
|
||||
- name: Install Production Dependencies
|
||||
run: pnpm install --prod
|
||||
|
||||
- name: Install Root Dev Dependencies
|
||||
run: pnpm install -w --dev
|
||||
|
||||
- name: Install Oracle client
|
||||
if: matrix.vendor == 'oracle'
|
||||
run: |
|
||||
|
||||
9
.github/workflows/blackbox-pr.yml
vendored
9
.github/workflows/blackbox-pr.yml
vendored
@@ -30,6 +30,15 @@ jobs:
|
||||
- name: Prepare
|
||||
uses: ./.github/actions/prepare
|
||||
|
||||
- name: Prune Dependencies
|
||||
run: find . -type d -name node_modules -prune -exec rm -rf {} \;
|
||||
|
||||
- name: Install Production Dependencies
|
||||
run: pnpm install --prod
|
||||
|
||||
- name: Install Root Dev Dependencies
|
||||
run: pnpm install -w --dev
|
||||
|
||||
- name: Start Services
|
||||
run: docker compose -f tests-blackbox/docker-compose.yml up auth-saml -d --quiet-pull --wait
|
||||
|
||||
|
||||
Reference in New Issue
Block a user