mirror of
https://github.com/vxcontrol/ncform.git
synced 2026-07-19 18:23:32 -04:00
test: update ci config
This commit is contained in:
@@ -79,13 +79,15 @@ jobs:
|
||||
- run:
|
||||
command: npx http-server packages/ncform -p 3000
|
||||
background: true
|
||||
- run: ls
|
||||
- run:
|
||||
shell: /bin/sh
|
||||
command: |
|
||||
wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 -t 10 http://127.0.0.1:3000/examples/components/vue-ncform/_value-default.html
|
||||
:
|
||||
- run: cd packages/ncform-e2e && npm run test-ncform:cli
|
||||
- run: cd packages/ncform-e2e && ls
|
||||
- run: npx cypress --help
|
||||
- run: npm run test
|
||||
- run: npm run test-ncform:cli
|
||||
|
||||
workflows:
|
||||
version: 2
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
"description": "ncform e2e test",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "cypress --version",
|
||||
"test-ncform:cli": "cross-var \"cypress run --project ./ncform --record --key $NCFORM_E2E_KEY\"",
|
||||
"test-ncform:ui": "cd ncform && cypress open"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user