-
Notifications
You must be signed in to change notification settings - Fork 3
/
devbox.json
38 lines (38 loc) · 1.59 KB
/
devbox.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.12.0/.schema/devbox.schema.json",
"packages": [
"nodejs@20",
"ruby@latest",
"act@latest"
],
"env": {"DEVBOX_COREPACK_ENABLED": "true"},
"shell": {
"scripts": {
"setup": [
"gem install rerun",
"npm ci"
],
"test": "npm run test",
"dev": "npm run dev",
"rebuildtests": [
"git diff --quiet || { echo 'Working tree is not clean, exiting.'; exit 1; }",
"cd test/v6 && rm existing.js new.js some_file_that_eslint_should_ignore && cd ../..",
"cd test/v7 && rm existing.js new.js some_file_that_eslint_should_ignore && cd ../..",
"cd test/v8 && rm existing.js new.js some_file_that_eslint_should_ignore && cd ../..",
"cd test/v9 && rm existing.js new.js some_file_that_eslint_should_ignore && cd ../..",
"cp test/snapshots/base/* test/v6",
"cp test/snapshots/base/* test/v7",
"cp test/snapshots/base/* test/v8",
"cp test/snapshots/base/* test/v9",
"git add . && git commit -m 'Automated: Undo simulated changes'",
"echo \"{ \\\"pull_request\\\": { \\\"base\\\": { \\\"sha\\\": \\\"$(git rev-parse HEAD)\\\" } } }\" > test/pull_request_event_payload.json",
"git add . && git commit -m 'Automated: Update test target sha'",
"cp test/snapshots/updates/* test/v6",
"cp test/snapshots/updates/* test/v7",
"cp test/snapshots/updates/* test/v8",
"cp test/snapshots/updates/* test/v9",
"git add . && git commit -m 'Automated: Simulate changes'"
]
}
}
}