-
Notifications
You must be signed in to change notification settings - Fork 393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add installing chrome to the build process #542
Comments
the setup that i used to run it in gitlab ci package.json : {
"name": "dataportweb",
"version": "0.1.0",
"private": true,
"homepage": "https://xxx.gitlab.io/xxx/",
"dependencies": {
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"bootstrap": "^5.1.0",
"chrome": "^0.1.0",
"puppeteer-core": "^10.2.0",
"react": "^17.0.2",
"react-bootstrap": "^1.6.1",
"react-dom": "^17.0.2",
"react-router-bootstrap": "^0.25.0",
"react-router-dom": "^5.2.1",
"react-scripts": "^4.0.3",
"react-snap": "^1.23.0",
"web-vitals": "^1.0.1"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"postbuild": "react-snap",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"reactSnap": {
"puppeteerArgs": [
"--no-sandbox"
]
}
} cat .gitlab-ci.yml :
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature Request
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I have an issue when [...]
add installing chrome to the build process
Describe the solution you'd like
A clear and concise description of what you want to happen. Add any considered drawbacks.
add info from puppeteer/puppeteer#765 (comment) on how to set up
yarn build
for ubuntu under wsl2 or gitlab ciDescribe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Teachability, Documentation, Adoption, Migration Strategy
If you can, explain how users will be able to use this and possibly write out a version the docs.
The text was updated successfully, but these errors were encountered: