We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4b7093 commit 8316cadCopy full SHA for 8316cad
tests/rakkas.ts
@@ -10,13 +10,16 @@ export async function test(options: RunOptions) {
10
build: 'build',
11
// This is needed to run puppeteer in Ubuntu 23+
12
// https://github.com/puppeteer/puppeteer/pull/13196
13
- beforeTest: process.env.GITHUB_ACTIONS
14
- ? async () => {
15
- execSync(
16
- 'echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns',
17
- )
18
- }
19
- : undefined,
+ beforeTest: [
+ process.env.GITHUB_ACTIONS
+ ? async () => {
+ execSync(
+ 'echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns',
+ )
+ }
20
+ : null,
21
+ 'pnpm --dir testbed/examples exec puppeteer browsers install chrome',
22
+ ].filter((x) => x != null),
23
test: 'vite-ecosystem-ci',
24
})
25
}
0 commit comments