From 1b9a674034e9c4c88ee295d0cc42ebd2ba7665d0 Mon Sep 17 00:00:00 2001 From: Hubert Van De Walle Date: Thu, 23 Apr 2020 18:12:27 +0200 Subject: [PATCH] Testing gitlab pages for nuxt --- .gitlab-ci.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cea9076..5638a2b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,9 +1,15 @@ -image: alpine:latest +image: node + +before_script: + - cd frontend && yarn install + +cache: + paths: + - frontend/node_modules/ pages: - stage: deploy script: - - echo 'Nothing to do...' + - cd frontend && yarn run generate artifacts: paths: - public