Skip to content

Commit

Permalink
fix: testing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlwn123 committed Sep 20, 2024
1 parent 8b4436d commit b07899f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:

test:
name: Test
needs: build
needs: lint
runs-on: ubuntu-latest

steps:
Expand All @@ -66,8 +66,12 @@ jobs:
- name: Install dependencies
uses: ./.github/actions/install-deps

- name: Setup Playwright
run: pnpm exec playwright install

- name: Run Tests
uses: nick-fields/retry@v3
with:
command: pnpm test
max_attempts: 3
timeout_seconds: 180
3 changes: 3 additions & 0 deletions vitest.workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import wasm from 'vite-plugin-wasm'
export default defineWorkspace([
{
plugins: [wasm()],
optimizeDeps: {
include: ['./packages/core-web/wasm'],
},
test: {
environment: 'happy-dom',
browser: {
Expand Down

0 comments on commit b07899f

Please sign in to comment.