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:
parent
4c417b23f8
commit
6bb89d6c09
3
.github/workflows/build-win.yml
vendored
3
.github/workflows/build-win.yml
vendored
@ -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
|
||||
|
2
Makefile
2
Makefile
@ -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
478
webapp/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -14,12 +14,12 @@
|
||||
"runserver-test": "cd cypress && ../../bin/octoserver",
|
||||
"cypress:ci": "start-server-and-test runserver-test http://localhost:8088 cypress:run",
|
||||
"cypress:run": "cypress run",
|
||||
"cypress:run:chrome": "cypress run --browser chrome",
|
||||
"cypress:run:firefox": "cypress run --browser firefox",
|
||||
"cypress:run:edge": "cypress run --browser edge",
|
||||
"cypress:run:electron": "cypress run --browser electron",
|
||||
"cypress:open": "cypress open"
|
||||
},
|
||||
"cypress:run:chrome": "cypress run --browser chrome",
|
||||
"cypress:run:firefox": "cypress run --browser firefox",
|
||||
"cypress:run:edge": "cypress run --browser edge",
|
||||
"cypress:run:electron": "cypress run --browser electron",
|
||||
"cypress:open": "cypress open"
|
||||
},
|
||||
"dependencies": {
|
||||
"emoji-mart": "^3.0.0",
|
||||
"marked": "^1.1.1",
|
||||
@ -32,12 +32,12 @@
|
||||
"react-simplemde-editor": "^4.1.3"
|
||||
},
|
||||
"jest": {
|
||||
"globals": {
|
||||
"ts-jest": {
|
||||
"tsConfig": "./src/tsconfig.json"
|
||||
}
|
||||
},
|
||||
"transform": {
|
||||
"globals": {
|
||||
"ts-jest": {
|
||||
"tsConfig": "./src/tsconfig.json"
|
||||
}
|
||||
},
|
||||
"transform": {
|
||||
"^.+\\.tsx?$": "ts-jest"
|
||||
},
|
||||
"collectCoverage": true,
|
||||
@ -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"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user