We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f962520 commit 2e09019Copy full SHA for 2e09019
tests/rakkas.ts
@@ -1,12 +1,22 @@
1
import { runInRepo } from '../utils.ts'
2
import type { RunOptions } from '../types.d.ts'
3
+import { execSync } from 'node:child_process'
4
5
export async function test(options: RunOptions) {
6
await runInRepo({
7
...options,
8
repo: 'rakkasjs/rakkasjs',
9
branch: 'main',
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,
20
test: 'vite-ecosystem-ci',
21
})
22
}
0 commit comments