ci(e2e): do not run sync automatically (#24717)

This commit is contained in:
Liam DeBeasi
2022-02-04 11:27:16 -05:00
committed by GitHub
parent f5c5c3cffa
commit df84d155ea
5 changed files with 10 additions and 6 deletions

View File

@ -33,6 +33,10 @@ runs:
run: npm install
shell: bash
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
run: npm run test
shell: bash

View File

@ -4,12 +4,12 @@
"private": true,
"scripts": {
"ng": "ng",
"start": "npm run sync && ng serve",
"start": "ng serve",
"sync:build": "sh scripts/build-ionic.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",
"postinstall": "npm run sync && ngcc",
"postinstall": "ngcc",
"serve:ssr": "node dist/test-app/server/main.js",
"build:ssr": "ng build --prod && ng run test-app:server:production",
"dev:ssr": "ng run test-app:serve-ssr",

View File

@ -35,7 +35,7 @@
"wait-on": "^5.3.0"
},
"scripts": {
"start": "npm run sync && react-scripts start",
"start": "react-scripts start",
"start.ci": "npm run sync && BROWSER=none react-scripts start",
"build": "node scripts/build.js",
"test": "cypress open",

View File

@ -42,7 +42,7 @@
"workbox-streams": "^5.1.4"
},
"scripts": {
"start": "npm run sync && react-scripts start",
"start": "react-scripts start",
"start.ci": "npm run sync && BROWSER=none react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",

View File

@ -9,7 +9,7 @@
"test:e2e": "concurrently \"npm run start\" \"wait-on http-get://localhost:8080 && npm run cypress\" --kill-others --success first",
"lint": "vue-cli-service lint",
"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"
},
"dependencies": {