Skip to content

Commit 15eaaa6

Browse files
committed
fix: ensure browsers are installed before browser tests
1 parent 37a5d9c commit 15eaaa6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Taskfile.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ tasks:
6262
test:unit:
6363
desc: Run unit tests
6464
aliases: [unit]
65-
deps: [install]
65+
deps: [install, playwright]
6666
cmd: npx vitest run
6767
env:
6868
NODE_ENV: test
@@ -99,7 +99,6 @@ tasks:
9999
- task: test:e2e
100100

101101
playwright:
102-
deps: [install]
103-
silent: true
104102
internal: true
103+
run: once
105104
cmd: npx playwright install --with-deps

0 commit comments

Comments
 (0)