Configure functions from CI
This commit is contained in:
parent
4b3aaf0e44
commit
b0d0882911
|
@ -15,6 +15,6 @@ deploy_staging:
|
|||
- yarn
|
||||
- (cd functions; yarn)
|
||||
- (cd functions; yarn lint)
|
||||
- (cd webapp; yarn build)
|
||||
- (yarn global add create-react-app; cd webapp; yarn build)
|
||||
- firebase use --token $FIREBASE_DEPLOY_KEY_STAGING qpa-staging
|
||||
- firebase deploy -m "Pipeline $CI_PIPELINE_ID, build $CI_BUILD_ID" --non-interactive --token $FIREBASE_DEPLOY_KEY_STAGING
|
||||
|
|
|
@ -3,10 +3,12 @@
|
|||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@types/styled-components": "^3.0.0",
|
||||
"axios": "^0.18.0",
|
||||
"react": "^16.4.2",
|
||||
"react-dom": "^16.4.2",
|
||||
"react-scripts-ts": "2.17.0"
|
||||
"react-scripts-ts": "2.17.0",
|
||||
"styled-components": "^3.4.5"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "react-scripts-ts start",
|
||||
|
|
|
@ -26,5 +26,8 @@
|
|||
"webpack",
|
||||
"jest",
|
||||
"src/setupTests.ts"
|
||||
],
|
||||
"indlude": [
|
||||
"node_modules/@types"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,10 +1,17 @@
|
|||
{
|
||||
"extends": ["tslint:recommended", "tslint-react", "tslint-config-prettier"],
|
||||
"extends": [
|
||||
"tslint:recommended",
|
||||
"tslint-react",
|
||||
"tslint-config-prettier"
|
||||
],
|
||||
"linterOptions": {
|
||||
"exclude": [
|
||||
"config/**/*.js",
|
||||
"node_modules/**/*.ts",
|
||||
"coverage/lcov-report/*.js"
|
||||
]
|
||||
},
|
||||
"rules": {
|
||||
"member-access": false
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue