Merge d856de30e1 into 76f2e149a0
This commit is contained in:
commit
99db6ba5f9
|
|
@ -76,12 +76,12 @@ 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
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
env:
|
||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||
|
||||
e2e_tests:
|
||||
name: E2E test
|
||||
|
|
@ -123,4 +123,4 @@ jobs:
|
|||
run: pnpm cypress install
|
||||
|
||||
- name: E2E test
|
||||
run: pnpm test:e2e:ci
|
||||
run: npm run test:e2e:ci --coverage
|
||||
|
|
|
|||
|
|
@ -35,6 +35,9 @@ jobs:
|
|||
|
||||
- name: Eslint check
|
||||
run: pnpm lint:script
|
||||
|
||||
- name: build
|
||||
run: pnpm build
|
||||
|
||||
unit_test:
|
||||
name: Unit test
|
||||
|
|
@ -76,12 +79,12 @@ 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
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
env:
|
||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||
|
||||
e2e_tests:
|
||||
name: E2E test
|
||||
|
|
@ -123,4 +126,4 @@ jobs:
|
|||
run: pnpm cypress install
|
||||
|
||||
- name: E2E test
|
||||
run: pnpm test:e2e:ci
|
||||
run: npm run test:e2e:ci --coverage
|
||||
|
|
|
|||
|
|
@ -13,5 +13,13 @@ export default defineConfig({
|
|||
framework: 'vue',
|
||||
bundler: 'vite',
|
||||
},
|
||||
setupNodeEvents(on, config) {
|
||||
require('@cypress/code-coverage/task')(on, config)
|
||||
// include any other plugin code...
|
||||
|
||||
// It's IMPORTANT to return the config object
|
||||
// with any changed environment variables
|
||||
return config
|
||||
}
|
||||
},
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue