File tree Expand file tree Collapse file tree 4 files changed +14
-6
lines changed Expand file tree Collapse file tree 4 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 15
15
- uses : actions/setup-node@v3
16
16
with : { node-version: '18' }
17
17
- run : npm ci
18
+ - run : npm run test:format
18
19
- run : npm run build
19
20
- run : npm run test:unit
20
21
test_e2e :
Original file line number Diff line number Diff line change 19
19
< body >
20
20
< h1 > StackBlitz SDK Examples</ h1 >
21
21
< ul >
22
- < li > < a href ="/examples/open-embed-project-id/ "> Open and embed a StackBlitz EngineBlock project</ a > </ li >
23
- < li > < a href ="/examples/open-embed-webcontainer/ "> Open and embed a StackBlitz WebContainer project</ a > </ li >
22
+ < li >
23
+ < a href ="/examples/open-embed-project-id/ "
24
+ > Open and embed a StackBlitz EngineBlock project</ a
25
+ >
26
+ </ li >
27
+ < li >
28
+ < a href ="/examples/open-embed-webcontainer/ "
29
+ > Open and embed a StackBlitz WebContainer project</ a
30
+ >
31
+ </ li >
24
32
< li > < a href ="/examples/open-embed-github-project/ "> Open and embed a GitHub repo</ a > </ li >
25
33
< li > < a href ="/examples/embed-project-vm/ "> Control an embedded project with the SDK</ a > </ li >
26
34
</ ul >
Original file line number Diff line number Diff line change 10
10
< header >
11
11
< h1 > Open and embed a StackBlitz WebContainer project</ h1 >
12
12
< div >
13
- < label >
14
- < input type ="checkbox " name ="corp " /> Cross-Origin Isolation
15
- </ label >
13
+ < label > < input type ="checkbox " name ="corp " /> Cross-Origin Isolation </ label >
16
14
</ div >
17
15
< nav >
18
16
< button type ="button " name ="embed-project "> Embed project</ button >
Original file line number Diff line number Diff line change 32
32
"start:e2e" : " vite dev --mode e2e" ,
33
33
"test" : " vitest run --mode test --coverage" ,
34
34
"test:unit" : " vitest run --mode test" ,
35
- "test:e2e" : " npx playwright test"
35
+ "test:e2e" : " npx playwright test" ,
36
+ "test:format" : " npx prettier --check ."
36
37
},
37
38
"devDependencies" : {
38
39
"@playwright/test" : " ^1.32.2" ,
You can’t perform that action at this time.
0 commit comments