edit yml file to run test with npm instead of pnpm

This commit is contained in:
Kenny628 2023-08-26 14:09:53 +08:00
parent 91baf9a5e8
commit 0d91da6bbf
2 changed files with 4 additions and 4 deletions

View File

@ -76,7 +76,7 @@ jobs:
run: pnpm cypress install
- name: Unit test
run: pnpm test:unit:ci
run: npm run test:unit:ci --coverage
- name: Update coverage report
uses: codecov/codecov-action@v3
@ -123,4 +123,4 @@ jobs:
run: pnpm cypress install
- name: E2E test
run: pnpm test:e2e:ci
run: npm run test:e2e:ci --coverage

View File

@ -79,7 +79,7 @@ jobs:
run: pnpm cypress install
- name: Unit test
run: pnpm test:unit:ci
run: npm run test:unit:ci --coverage
- name: Update coverage report
uses: codecov/codecov-action@v3
@ -126,4 +126,4 @@ jobs:
run: pnpm cypress install
- name: E2E test
run: pnpm test:e2e:ci
run: npm run test:e2e:ci --coverage