From 96505296e21548ab655f31c2694397f86cedaea9 Mon Sep 17 00:00:00 2001 From: selfisekai Date: Thu, 20 Aug 2020 17:11:56 +0200 Subject: [PATCH] fix ci --- .gitlab-ci.yml | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ae93bc6..f3eaa00 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,9 +1,10 @@ default: image: node:14-alpine + before_script: + - yarn install build: script: - - yarn - yarn build lint: diff --git a/package.json b/package.json index c1e4f95..9fdc74e 100644 --- a/package.json +++ b/package.json @@ -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",