Skip to content

Commit

Permalink
move from node:test to vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
vorant94 committed Jul 24, 2024
1 parent b58c1da commit 91d4711
Show file tree
Hide file tree
Showing 11 changed files with 745 additions and 93 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,13 @@ jobs:

- uses: ./.github/actions/setup

- run: npm run build:client --workspace=@digital-garden/blog

- run: npm run build:server --workspace=@digital-garden/blog
- run: npm run test:coverage --workspace=@digital-garden/blog

- run: npm run test --workspace=@digital-garden/blog
- uses: actions/upload-artifact@v4
with:
name: coverage
path: packages/blog/coverage/
retention-days: 30

e2e:
timeout-minutes: 60
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
**/playwright-report/
**/blob-report/
**/playwright/.cache/
**/coverage/

packages/blog/public/client/style.css
packages/blog/public/client/main.js
Expand Down
17 changes: 9 additions & 8 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,18 @@
},
"files": {
"ignore": [
"**/.idea",
"**/node_modules",
"**/dist",
"**/.idea/*",
"**/node_modules/*",
"**/dist/*",
"**/.env",
"**/test-results/",
"**/playwright-report/",
"**/blob-report/",
"**/playwright/.cache/",
"**/test-results/*",
"**/playwright-report/*",
"**/blob-report/*",
"**/playwright/.cache/*",
"**/coverage/*",
"packages/blog/public/client/style.css",
"packages/blog/public/client/main.js",
"**/.DS_Store",
"**/.DS_Store/*",
".husky/_/*"
]
},
Expand Down
Loading

0 comments on commit 91d4711

Please sign in to comment.