Skip to content

Commit

Permalink
NODE_ENV=test everywhere lol
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolovlazar committed Aug 27, 2024
1 parent 9309666 commit 89064d5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Test
on: [push]
jobs:
test:
env:
NODE_ENV: test

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"build": "next build",
"start": "next start",
"lint": "next lint",
"test": "vitest",
"coverage": "vitest run --coverage"
"test": "NODE_ENV=test vitest",
"coverage": "NODE_ENV=test vitest run --coverage"
},
"dependencies": {
"@libsql/client": "^0.9.0",
Expand Down

0 comments on commit 89064d5

Please sign in to comment.