Skip to content

Commit 033e739

Browse files
ci: Use Node 20 for CodeSandbox examples (#7646)
* ci: Try to use Node 20 for CSB * Simplify install/build scripts * Fix installCommand * Remove installCommand * Undo * Remove install:csb
1 parent 8cbe7d5 commit 033e739

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

.codesandbox/ci.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"installCommand": "install:csb",
32
"buildCommand": "build:csb",
43
"sandboxes": [
54
"/examples/angular/basic",
@@ -9,5 +8,5 @@
98
"/examples/vue/basic"
109
],
1110
"packages": ["packages/**"],
12-
"node": "18"
11+
"node": "20"
1312
}

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
"clean": "pnpm --filter \"./packages/**\" run clean",
1212
"preinstall": "node -e \"if(process.env.CI == 'true') {console.log('Skipping preinstall...')} else {process.exit(1)}\" || npx -y only-allow pnpm",
1313
"prepare": "husky",
14-
"install:csb": "corepack enable && pnpm install --frozen-lockfile",
1514
"test": "pnpm run test:ci",
1615
"test:pr": "nx affected --targets=test:format,test:sherif,test:knip,test:eslint,test:lib,test:types,test:build,build,test:attw",
1716
"test:ci": "nx run-many --targets=test:format,test:sherif,test:knip,test:eslint,test:lib,test:types,test:build,build,test:attw",

0 commit comments

Comments
 (0)