Loading .gitlab-ci.yml +7 −6 Original line number Diff line number Diff line image: "node:lts-alpine" stages: - build - lint - deploy # global cache settings for all jobs Loading @@ -25,8 +25,9 @@ before_script: # # monorepo users: run secondary install actions # - npx lerna bootstrap -- --cache .npm/ --prefer-offline lint: stage: build stage: lint # global cache settings are inherited to grab `node_modules` script: - node --version Loading @@ -40,6 +41,6 @@ pages: - npm run build artifacts: paths: - public # where ever your build results are stored - public rules: - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH No newline at end of file README.md +4 −4 Original line number Diff line number Diff line Loading @@ -2,22 +2,22 @@ ## Project setup ``` yarn install npm install ``` ### Compiles and hot-reloads for development ``` yarn serve npm run serve ``` ### Compiles and minifies for production ``` yarn build npm run build ``` ### Lints and fixes files ``` yarn lint npm run lint ``` ### Customize configuration Loading vue.config.js +2 −2 Original line number Diff line number Diff line const { defineConfig } = require('@vue/cli-service') module.exports = defineConfig({ outputDir: 'public', transpileDependencies: true, outputDir: 'public', publicPath: process.env.NODE_ENV === 'production' ? '/frontend/' ? process.env.VUE_APP_BASE_URL : '/' }) Loading
.gitlab-ci.yml +7 −6 Original line number Diff line number Diff line image: "node:lts-alpine" stages: - build - lint - deploy # global cache settings for all jobs Loading @@ -25,8 +25,9 @@ before_script: # # monorepo users: run secondary install actions # - npx lerna bootstrap -- --cache .npm/ --prefer-offline lint: stage: build stage: lint # global cache settings are inherited to grab `node_modules` script: - node --version Loading @@ -40,6 +41,6 @@ pages: - npm run build artifacts: paths: - public # where ever your build results are stored - public rules: - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH No newline at end of file
README.md +4 −4 Original line number Diff line number Diff line Loading @@ -2,22 +2,22 @@ ## Project setup ``` yarn install npm install ``` ### Compiles and hot-reloads for development ``` yarn serve npm run serve ``` ### Compiles and minifies for production ``` yarn build npm run build ``` ### Lints and fixes files ``` yarn lint npm run lint ``` ### Customize configuration Loading
vue.config.js +2 −2 Original line number Diff line number Diff line const { defineConfig } = require('@vue/cli-service') module.exports = defineConfig({ outputDir: 'public', transpileDependencies: true, outputDir: 'public', publicPath: process.env.NODE_ENV === 'production' ? '/frontend/' ? process.env.VUE_APP_BASE_URL : '/' })