返回提交历史
Modified
.github/workflows/verify.yml
+6
-4
Modified
package-lock.json
+0
-3
Modified
package.json
+0
-3
XFEstudio/SpaceNinjaServer
ci: use raw running for self-tests (#4372)
Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/4372 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
470e5610
代码差异
3 个文件
+6
-10
@@ -9,14 +9,16 @@ jobs:
9
9
steps:
10
10
- name: Checkout
11
11
uses: actions/checkout@v4.1.2
12
- name: Setup lowest supported Node.js environment
12
- name: Setup Node.js
13
13
uses: actions/setup-node@v4.0.2
14
14
with:
15
node-version: "20.19.0"
15
# For `npm i --omit=dev --omit=optional` to succeed, node >= 20.19 OR node >= 22.9 + npm >= 11.5 are required.
16
# For `npm i` to succeed, node >= 22.13 is required.
17
node-version: "22.13.0"
16
18
- run: npm ci --no-audit
17
19
- run: cp config-vanilla.json config.json
18
- run: npm run build
19
- run: npm run start -- --test
20
- run: npm run verify
21
- run: npm run raw -- --test
20
22
- run: npm run lint:ci
21
23
- run: npm run knip
22
24
- run: npm run prettier
@@ -35,9 +35,6 @@
35
35
"tree-kill": "^1.2.2",
36
36
"typescript": "^5.9.3"
37
37
},
38
"engines": {
39
"node": ">=20.19.0"
40
},
41
38
"optionalDependencies": {
42
39
"@types/body-parser": "^1.19.6",
43
40
"@types/express": "^5",
@@ -64,8 +64,5 @@
64
64
"prettier": "^3.5.3",
65
65
"tree-kill": "^1.2.2",
66
66
"typescript": "^5.9.3"
67
},
68
"engines": {
69
"node": ">=20.19.0"
70
67
}
71
68
}