Skip to content

Commit 73be2e8

Browse files
committed
fix: CI cli-e2e
1 parent b7a4180 commit 73be2e8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/actions/test/action.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,14 @@ runs:
1616
steps:
1717
- name: Lint
1818
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
2120
- name: Build packages
2221
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
2423

2524
- name: Test all except headless
2625
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
2827
env:
2928
NODE_OPTIONS: --experimental-vm-modules
3029

packages/cli/bin/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,8 @@ async function handleInit() {
195195

196196
// ADD QWIK UI CLI TO DEPENDENCIES
197197
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}`, {
199200
stdio: 'inherit',
200201
});
201202

0 commit comments

Comments
 (0)