File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -16,15 +16,14 @@ runs:
16
16
steps :
17
17
- name : Lint
18
18
shell : bash
19
- run : npx nx run-many -t lint --exclude website # --base=last-release <- add that back after fix
20
-
19
+ run : npx nx run-many -t lint --exclude website --base=last-release
21
20
- name : Build packages
22
21
shell : bash
23
- run : npx nx run-many -t build --parallel=false --exclude website --skip-nx-cache # --base=last-release <- add that back
22
+ run : npx nx run-many -t build --parallel=false --exclude website --skip-nx-cache --base=last-release
24
23
25
24
- name : Test all except headless
26
25
shell : bash
27
- run : npx nx run-many -t test # --base=last-release <- add that back
26
+ run : npx nx run-many -t test --base=last-release
28
27
env :
29
28
NODE_OPTIONS : --experimental-vm-modules
30
29
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ describe('Qwik UI CLI Smoke test', () => {
23
23
24
24
it ( 'should be installed and add the button file' , ( ) => {
25
25
execSync (
26
- 'npx -y qwik-ui@0.3.3 init --e2e --projectRoot ./ --uiComponentsPath "src/components/ui" --rootCssPath "src/global.css" --installTailwind --style "simple" --components=button' ,
26
+ 'npx -y qwik-ui@e2e init --e2e --projectRoot ./ --uiComponentsPath "src/components/ui" --rootCssPath "src/global.css" --installTailwind --style "simple" --components=button' ,
27
27
{
28
28
cwd : projectDirectory ,
29
29
env : process . env ,
Original file line number Diff line number Diff line change @@ -195,7 +195,8 @@ async function handleInit() {
195
195
196
196
// ADD QWIK UI CLI TO DEPENDENCIES
197
197
log . info ( 'Adding qwik-ui cli to package.json...' ) ;
198
- execSync ( `${ getPackageManagerCommand ( ) . addDev } qwik-ui@latest` , {
198
+ const cliTag = args [ 'e2e' ] ? 'e2e' : 'latest' ;
199
+ execSync ( `${ getPackageManagerCommand ( ) . addDev } qwik-ui@${ cliTag } ` , {
199
200
stdio : 'inherit' ,
200
201
} ) ;
201
202
You can’t perform that action at this time.
0 commit comments