Skip to content

Commit

Permalink
attempt to fix unit tests in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
a-type committed Dec 16, 2024
1 parent 00d7af5 commit a291b0d
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 18 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:

- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Install playwright
run: pnpx playwright install

- name: Typecheck
run: pnpm typecheck
Expand Down
3 changes: 2 additions & 1 deletion packages/react/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ export default defineConfig({
browser: {
provider: 'playwright',
enabled: true,
name: 'chromium'
name: 'chromium',
headless: true,
},
clearMocks: true,
},
Expand Down
37 changes: 20 additions & 17 deletions verdant.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -2,62 +2,65 @@
"folders": [
{
"name": "🌿 Store",
"path": "packages/store"
"path": "packages/store",
},
{
"name": "💽 Server",
"path": "packages/server"
"path": "packages/server",
},
{
"name": "🪢 Common",
"path": "packages/common"
"path": "packages/common",
},
{
"name": "🧑‍💻 CLI",
"path": "packages/cli"
"path": "packages/cli",
},
{
"name": "⚛️ React",
"path": "packages/react"
"path": "packages/react",
},
{
"name": "🔗 Router",
"path": "packages/react-router"
"path": "packages/react-router",
},
{
"name": "📦 Create App",
"path": "packages/create-app"
"path": "packages/create-app",
},
{
"name": "🛢️ SQLite Persistence",
"path": "packages/persistence-sqlite"
"path": "packages/persistence-sqlite",
},
{
"name": "📱 Capacitor SQLite",
"path": "packages/persistence-capacitor-sqlite"
"path": "packages/persistence-capacitor-sqlite",
},
{
"name": "🗄️ S3 Files",
"path": "packages/file-storage-s3"
"path": "packages/file-storage-s3",
},
{
"name": "🧪 Tests",
"path": "test"
"path": "test",
},
{
"name": "📃 Docs",
"path": "docs"
"path": "docs",
},
{
"name": "📝 Scratchpad",
"path": "scratchpad"
"path": "scratchpad",
},
{
"name": "⚙️ Configs",
"path": "configs"
}
"path": "configs",
},
{
"path": ".github",
},
],
"settings": {
"vitest.workspaceConfig": "./configs/vitest.workspace.ts"
}
"vitest.workspaceConfig": "./configs/vitest.workspace.ts",
},
}

0 comments on commit a291b0d

Please sign in to comment.