Skip to content

Commit

Permalink
fix: use dotenv for coverage command too
Browse files Browse the repository at this point in the history
  • Loading branch information
karrui committed Oct 9, 2024
1 parent 64af40f commit b1c90e9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- name: Load .env file
uses: xom9ikk/dotenv@v2
with:
mode: test
- name: Configure Datadog Test Visibility
env:
DD_SERVICE_NAME: ${{ secrets.DD_SERVICE_NAME }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"test:vitest": "dotenv -e .env.test vitest run",
"test-dev:vitest": "dotenv -e .env.test vitest",
"test:e2e": "dotenv -e .env.test playwright test",
"test-ci:coverage": "vitest run --coverage",
"test-ci:coverage": "dotenv -e .env.test vitest run --coverage",
"test-ci:e2e": "start-server-and-test start http://127.0.0.1:3000 test:e2e",
"test-dev:e2e": "start-server-and-test dev http://127.0.0.1:3000 test:e2e",
"load-test:build": "webpack --config tests/load/webpack.config.js",
Expand Down

0 comments on commit b1c90e9

Please sign in to comment.