Skip to content

Commit a31062d

Browse files
committed
chore(workflows): cleanup commands
1 parent 63b7fe4 commit a31062d

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Diff for: .github/workflows/ci.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,12 @@ jobs:
4242
run: pnpm lint
4343

4444
- name: Run tests 🧪
45-
run: pnpm ci
45+
uses: cypress-io/github-action@v5
46+
with:
47+
install-command: pnpm cypress install
48+
start: pnpm ci:test
49+
command: pnpm test
50+
browser: chrome
4651

4752
- name: Build App 🛠
4853
run: pnpm build

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"test": "cypress run",
4444
"lint:js": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path .gitignore .",
4545
"lint": "pnpm lint:js",
46-
"ci": "start-server-and-test dev http-get://localhost:3000 test"
46+
"ci:test": "start-server-and-test dev http-get://localhost:3000 test"
4747
},
4848
"dependencies": {
4949
"@vueuse/core": "^11.0.3",

0 commit comments

Comments
 (0)