variables: #BASE_DIR: $CI_PAGES_URL BASE_DIR: /pse-dashboard/ image: node stages: - test - deploy lint: stage: test script: - npm install - npm run lint allow_failure: true pages: stage: deploy script: - npm install - npm run build - rm -rf public - mv dist public artifacts: paths: - public rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH