Skip to content

Commit 3805d3e

Browse files
ci(codesandbox): fix CodeSandbox CI setting (#638)
* ci(codesandbox): upgrade node version * ci(codesandbox): upgrade node version * build: fix build script * Revert "build: fix build script" This reverts commit 415af59. * build: add sequential build script for codesandbox ci * ci(codesandbox): fix commands * Revert "ci(codesandbox): fix commands" This reverts commit 6e23d77. * ci(codesandbox): fix commands * ci(codesandbox): fix install command * ci(codesandbox): fix install command * ci(codesandbox): fix install command * ci(codesandbox): fix install command * ci(codesandbox): fix install command * ci(codesandbox): fix install command
1 parent efab5bd commit 3805d3e

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.codesandbox/ci.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
{
2-
"node": "14",
2+
"installCommand": "csb:install",
3+
"buildCommand": "csb:build",
4+
"node": "18",
35
"silent": true
46
}

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,9 @@
173173
"lint:types": "tsc",
174174
"test": "vitest run",
175175
"test:watch": "vitest watch",
176-
"check:all": "npm-run-all --parallel lint:* test"
176+
"check:all": "npm-run-all --parallel lint:* test",
177+
"csb:install": "pnpx [email protected] package.json prepare \"node -e 'process.exit(0)'\" && pnpm i --no-frozen-lockfile",
178+
"csb:build": "cross-env npm-run-all --sequential 'build:*'"
177179
},
178180
"keywords": [
179181
"scheme",

0 commit comments

Comments
 (0)