1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-24 13:43:12 +02:00

Make Cypress optional

This commit is contained in:
Chen-I Lim 2021-01-06 16:09:36 -08:00
parent 4c417b23f8
commit 6bb89d6c09
4 changed files with 207 additions and 304 deletions

View File

@ -14,9 +14,8 @@ jobs:
- name: win-node-env
run: npm install -g win-node-env
# Skip Cypress binary install
- name: npm install
run: set CYPRESS_INSTALL_BINARY=0; cd webapp; npm install
run: cd webapp; npm install --no-optional
- name: Set up Go
uses: actions/setup-go@v2

View File

@ -81,7 +81,7 @@ win-app: server-win webapp
mkdir -p win/temp/webapp
cp -R webapp/pack win/temp/webapp/pack
mkdir -p win/dist
cd win/temp; tar -zcf ../dist/tasks-win.zip .
cd win/temp; tar -acf ../dist/tasks-win.zip .
linux-app: server-linux webapp
rm -rf linux/temp

478
webapp/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -64,7 +64,6 @@
"@typescript-eslint/parser": "^4.4.1",
"copy-webpack-plugin": "^6.0.3",
"css-loader": "^4.3.0",
"cypress": "^6.1.0",
"eslint": "^7.11.0",
"eslint-import-resolver-webpack": "0.12.2",
"eslint-plugin-babel": "5.3.1",
@ -90,5 +89,8 @@
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12",
"webpack-merge": "^5.1.2"
},
"optionalDependencies": {
"cypress": "^6.2.1"
}
}