Skip to content

Commit

Permalink
ci: Use Node 20 for CodeSandbox examples (#7646)
Browse files Browse the repository at this point in the history
* ci: Try to use Node 20 for CSB

* Simplify install/build scripts

* Fix installCommand

* Remove installCommand

* Undo

* Remove install:csb
  • Loading branch information
lachlancollins authored Jun 29, 2024
1 parent 8cbe7d5 commit 033e739
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions .codesandbox/ci.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"installCommand": "install:csb",
"buildCommand": "build:csb",
"sandboxes": [
"/examples/angular/basic",
Expand All @@ -9,5 +8,5 @@
"/examples/vue/basic"
],
"packages": ["packages/**"],
"node": "18"
"node": "20"
}
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"clean": "pnpm --filter \"./packages/**\" run clean",
"preinstall": "node -e \"if(process.env.CI == 'true') {console.log('Skipping preinstall...')} else {process.exit(1)}\" || npx -y only-allow pnpm",
"prepare": "husky",
"install:csb": "corepack enable && pnpm install --frozen-lockfile",
"test": "pnpm run test:ci",
"test:pr": "nx affected --targets=test:format,test:sherif,test:knip,test:eslint,test:lib,test:types,test:build,build,test:attw",
"test:ci": "nx run-many --targets=test:format,test:sherif,test:knip,test:eslint,test:lib,test:types,test:build,build,test:attw",
Expand Down

0 comments on commit 033e739

Please sign in to comment.