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",