diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index e768698..bb5a0fc 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -44,10 +44,12 @@ jobs: with: node-version: '20' + - name: Create .env file + run: | + echo "API_URL=http://api:3000" >> .env + echo "CDN_URL=http://cdn:4000" >> .env + - name: Run Vitest run: | npm install - npm test - env: - API_URL: http://api:3000 - CDN_URL: http://cdn:4000 \ No newline at end of file + npm test \ No newline at end of file