Skip to content

A self-hosted media server and file management system

fix: vitest blocked in ci environment

aminnausinfda5fa1e998d
diff --git a/.github/workflows/ci-docker-release.yml b/.github/workflows/ci-docker-release.yml
index ae4ca5fd..08e04196 100644
--- a/.github/workflows/ci-docker-release.yml
+++ b/.github/workflows/ci-docker-release.yml
@@ -134,6 +134,7 @@ jobs:
run: npm run test:coverage
env:
NODE_ENV: ci
+ LARAVEL_BYPASS_ENV_CHECK: 1
- name: Build
run: npm run build
diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml
index 63a6f352..a09d8f90 100644
--- a/.github/workflows/ci-test.yml
+++ b/.github/workflows/ci-test.yml
@@ -140,6 +140,7 @@ jobs:
run: npm run test:coverage
env:
NODE_ENV: ci
+ LARAVEL_BYPASS_ENV_CHECK: 1
- name: Build
run: npm run build