From fa3c917673925634f0196ad50d2440b22c7798cd Mon Sep 17 00:00:00 2001 From: Aarni Halinen Date: Thu, 31 Dec 2020 00:23:02 +0200 Subject: [PATCH] Fix CI build artifacts --- .gitlab-ci.yml | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3856c1d..24972ca 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -42,12 +42,12 @@ build: needs: ["install"] stage: build script: - - API_URL=https://api.dev.sik.party/api npm run build + - npm run build dependencies: - install artifacts: paths: - - dist + - .next expire_in: 1 week test:e2e: diff --git a/package.json b/package.json index 35ab844..fa396ae 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "start": "npm run start-dev", "start-dev": "next dev", "serve": "next start", - "start-prod": "npm run build && npm run serve", + "start-prod": "npm run serve", "test": "npm run test:e2e:verbose", "test:e2e": "npm-run-all -p -r serve test:e2e:testcafe", "test:e2e:verbose": "npm-run-all -p -r serve test:e2e:testcafe:verbose",