Skip to content

Commit

Permalink
Add CodeSandbox CI config (#193)
Browse files Browse the repository at this point in the history
* Add CodeSandbox CI config

* Update node version to 16

* Add defaults to codesandbox config

* remove install command

* Add next.js CodeSandbox demos
  • Loading branch information
csandman authored Sep 28, 2022
1 parent 04b590a commit ce0ded5
Show file tree
Hide file tree
Showing 4 changed files with 459 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .codesandbox/ci.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"buildCommand": "build",
"sandboxes": ["65ohb", "vz9ut", "v8lt7q", "h6uwj1"],
"node": "16"
}
12 changes: 11 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
"browser": true,
"node": true
},
"globals": {
"cy": true,
"Cypress": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
Expand Down Expand Up @@ -53,5 +57,11 @@
"disallowTypeAnnotations": true
}
]
}
},
"overrides": [
{
"files": ["./cypress/**/*.ts"],
"parserOptions": { "project": "./cypress/tsconfig.json" }
}
]
}
Loading

0 comments on commit ce0ded5

Please sign in to comment.