This commit is contained in:
selfisekai 2020-08-20 17:11:56 +02:00
parent 48af73f30b
commit 96505296e2
2 changed files with 3 additions and 2 deletions

View file

@ -1,9 +1,10 @@
default:
image: node:14-alpine
before_script:
- yarn install
build:
script:
- yarn
- yarn build
lint:

View file

@ -7,7 +7,7 @@
"scripts": {
"build": "yarn build:gql-codegen && yarn build:ts",
"build:ts": "yarn tsc",
"build:gql-codegen": "yarn gql-codegen:download && yarn gql-codegen:generate",
"build:gql-codegen": "yarn build:gql-codegen:download && yarn build:gql-codegen:generate",
"build:gql-codegen:download": "yarn ts-node scripts/download-gql-schema.ts",
"build:gql-codegen:generate": "yarn ts-node scripts/generate-gql-types.ts",
"lint": "yarn lint:prettier && yarn lint:eslint",