mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 10:01:59 +08:00
ci(e2e): do not run sync automatically (#24717)
This commit is contained in:
@ -33,6 +33,10 @@ runs:
|
|||||||
run: npm install
|
run: npm install
|
||||||
shell: bash
|
shell: bash
|
||||||
working-directory: ./angular/test/test-app
|
working-directory: ./angular/test/test-app
|
||||||
|
- name: Sync Built Changes
|
||||||
|
run: npm run sync
|
||||||
|
shell: bash
|
||||||
|
working-directory: ./angular/test/test-app
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
run: npm run test
|
run: npm run test
|
||||||
shell: bash
|
shell: bash
|
||||||
|
@ -4,12 +4,12 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"ng": "ng",
|
"ng": "ng",
|
||||||
"start": "npm run sync && ng serve",
|
"start": "ng serve",
|
||||||
"sync:build": "sh scripts/build-ionic.sh",
|
"sync:build": "sh scripts/build-ionic.sh",
|
||||||
"sync": "sh scripts/sync.sh",
|
"sync": "sh scripts/sync.sh",
|
||||||
"build": "npm run sync && ng build --configuration production --no-progress",
|
"build": "ng build --configuration production --no-progress",
|
||||||
"lint": "ng lint",
|
"lint": "ng lint",
|
||||||
"postinstall": "npm run sync && ngcc",
|
"postinstall": "ngcc",
|
||||||
"serve:ssr": "node dist/test-app/server/main.js",
|
"serve:ssr": "node dist/test-app/server/main.js",
|
||||||
"build:ssr": "ng build --prod && ng run test-app:server:production",
|
"build:ssr": "ng build --prod && ng run test-app:server:production",
|
||||||
"dev:ssr": "ng run test-app:serve-ssr",
|
"dev:ssr": "ng run test-app:serve-ssr",
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
"wait-on": "^5.3.0"
|
"wait-on": "^5.3.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "npm run sync && react-scripts start",
|
"start": "react-scripts start",
|
||||||
"start.ci": "npm run sync && BROWSER=none react-scripts start",
|
"start.ci": "npm run sync && BROWSER=none react-scripts start",
|
||||||
"build": "node scripts/build.js",
|
"build": "node scripts/build.js",
|
||||||
"test": "cypress open",
|
"test": "cypress open",
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
"workbox-streams": "^5.1.4"
|
"workbox-streams": "^5.1.4"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "npm run sync && react-scripts start",
|
"start": "react-scripts start",
|
||||||
"start.ci": "npm run sync && BROWSER=none react-scripts start",
|
"start.ci": "npm run sync && BROWSER=none react-scripts start",
|
||||||
"build": "react-scripts build",
|
"build": "react-scripts build",
|
||||||
"test": "react-scripts test",
|
"test": "react-scripts test",
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
"test:e2e": "concurrently \"npm run start\" \"wait-on http-get://localhost:8080 && npm run cypress\" --kill-others --success first",
|
"test:e2e": "concurrently \"npm run start\" \"wait-on http-get://localhost:8080 && npm run cypress\" --kill-others --success first",
|
||||||
"lint": "vue-cli-service lint",
|
"lint": "vue-cli-service lint",
|
||||||
"cypress": "node_modules/.bin/cypress run --headless --browser chrome",
|
"cypress": "node_modules/.bin/cypress run --headless --browser chrome",
|
||||||
"start": "npm run sync && vue-cli-service serve",
|
"start": "vue-cli-service serve",
|
||||||
"sync": "sh ./scripts/sync.sh"
|
"sync": "sh ./scripts/sync.sh"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
Reference in New Issue
Block a user