File tree Expand file tree Collapse file tree 4 files changed +9
-36
lines changed Expand file tree Collapse file tree 4 files changed +9
-36
lines changed Original file line number Diff line number Diff line change @@ -20,17 +20,21 @@ runs:
20
20
21
21
- name : Lint
22
22
shell : bash
23
- run : npx nx affected: lint --base=last-release --exclude=website
23
+ run : npx nx run-many -t lint --exclude website # -- base=last-release <- add that back after fix
24
24
25
- - name : Build Headless Kit
25
+ - name : Build packages
26
26
shell : bash
27
- run : npx nx build headless
27
+ run : npx nx run-many -t build --exclude website # --base=last-release <- add that back
28
28
29
29
# - name: Build storybook
30
30
# shell: bash
31
31
# run: npx nx build-storybook headless
32
32
33
- - name : Run Cypress component tests
33
+ - name : Test all except headless
34
+ shell : bash
35
+ run : npx nx run-many -t test # --base=last-release <- add that back
36
+
37
+ - name : Test Headless
34
38
uses : cypress-io/github-action@v5
35
39
with :
36
40
command : ' pnpm test.headless.ci'
48
52
# shell: bash
49
53
# run: npx nx affected:build --base=last-release --exclude=website
50
54
51
- # - name: Test
52
- # shell: bash
53
- # run: npx nx affected --target=test --base=last-release
54
-
55
55
# - name: E2E Tests
56
56
# shell: bash
57
57
# run: npx nx affected --target=e2e --base=last-release
Original file line number Diff line number Diff line change 18
18
"production" : {}
19
19
}
20
20
},
21
- "test" : {
22
- "executor" : " @nx/vite:test" ,
23
- "outputs" : [" {workspaceRoot}/coverage/{projectRoot}" ],
24
- "options" : {
25
- "passWithNoTests" : true
26
- }
27
- },
28
21
"lint" : {
29
22
"executor" : " @nx/eslint:lint" ,
30
23
"outputs" : [" {options.outputFile}" ],
Original file line number Diff line number Diff line change 13
13
"node" : " >=16.0.0"
14
14
},
15
15
"private" : false ,
16
- "scripts" : {
17
- "build" : " qwik build" ,
18
- "build-storybook" : " storybook build" ,
19
- "build.lib" : " vite build --mode lib" ,
20
- "build.types" : " tsc --emitDeclarationOnly" ,
21
- "dev" : " vite --mode ssr" ,
22
- "dev.debug" : " node --inspect-brk ./node_modules/vite/bin/vite.js --mode ssr --force" ,
23
- "fmt" : " prettier --write ." ,
24
- "fmt.check" : " prettier --check ." ,
25
- "release" : " np" ,
26
- "start" : " vite --open --mode ssr" ,
27
- "storybook" : " storybook dev -p 6006" ,
28
- "qwik" : " qwik"
29
- },
16
+ "scripts" : {},
30
17
"peerDependencies" : {
31
18
"@builder.io/qwik" : " ^1.1.0"
32
19
},
Original file line number Diff line number Diff line change 50
50
"production" : {}
51
51
}
52
52
},
53
- "test" : {
54
- "executor" : " @nx/vite:test" ,
55
- "outputs" : [" {workspaceRoot}/coverage/{projectRoot}" ],
56
- "options" : {
57
- "passWithNoTests" : true
58
- }
59
- },
60
53
"lint" : {
61
54
"executor" : " @nx/eslint:lint" ,
62
55
"outputs" : [" {options.outputFile}" ],
You can’t perform that action at this time.
0 commit comments