mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-20 22:52:46 -05:00
chore: add ci conf for e2e pkg
This commit is contained in:
parent
03d1244e51
commit
73f021c603
2 changed files with 18 additions and 1 deletions
|
@ -110,6 +110,14 @@ jobs:
|
|||
- run:
|
||||
name: Test End-to-End
|
||||
command: yarn run test:e2e
|
||||
test_e2e_cli:
|
||||
<<: *defaults
|
||||
executor: node_latest
|
||||
steps:
|
||||
- restore_repo
|
||||
- run:
|
||||
name: Test End-to-End ClI
|
||||
command: yarn run test:e2e:pkg
|
||||
|
||||
coverage:
|
||||
<<: *defaults
|
||||
|
@ -149,7 +157,15 @@ workflows:
|
|||
- test_node_lts_10
|
||||
- test_node_lts_12
|
||||
<<: *ignore_non_dev_branches
|
||||
- test_e2e_cli
|
||||
requires:
|
||||
- prepare
|
||||
- test_node_latest
|
||||
- test_node_lts_10
|
||||
- test_node_lts_12
|
||||
<<: *ignore_non_dev_branches
|
||||
- coverage:
|
||||
requires:
|
||||
- test_e2e
|
||||
- test_e2e_cli
|
||||
<<: *ignore_non_dev_branches
|
||||
|
|
|
@ -117,8 +117,9 @@
|
|||
"test:clean": "npx jest --clearCache",
|
||||
"test:unit": "cross-env NODE_ENV=test BABEL_ENV=test TZ=UTC FORCE_COLOR=1 jest --config ./jest.config.js --maxWorkers 2 --passWithNoTests",
|
||||
"test:functional": "cross-env NODE_ENV=test jest --config ./test/jest.config.functional.js --testPathPattern ./test/functional/index* --passWithNoTests",
|
||||
"test:e2e:pkg": "cross-env NODE_ENV=test jest --config ./test/e2e-pkg/jest.config.e2e.pkg.js --passWithNoTests",
|
||||
"test:e2e": "cross-env BABEL_ENV=test jest --config ./test/jest.config.e2e.js",
|
||||
"test:all": "npm run test && npm run test:functional && npm run test:e2e",
|
||||
"test:all": "npm run test && npm run test:functional && npm run test:e2e & npm run test:e2e:pkg",
|
||||
"pre:ci": "npm run lint",
|
||||
"coverage:publish": "codecov",
|
||||
"lint": "npm run type-check && npm run lint:ts && npm run lint:lockfile",
|
||||
|
|
Loading…
Add table
Reference in a new issue