Commit 4fb579c1 authored by JunHyung An's avatar JunHyung An
Browse files

Update .gitlab-ci.yml file

parent ea06bbed
Loading
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -24,9 +24,8 @@ before_script:
  - npm ci --cache node_modules/ --prefer-offline
#   # monorepo users: run secondary install actions
#   - npx lerna bootstrap -- --cache .npm/ --prefer-offline
  - npm run build

build:
lint:
  stage: build
  # global cache settings are inherited to grab `node_modules`
  script:  
@@ -35,12 +34,13 @@ build:
    paths:
      - dist/           # where ever your build results are stored

pages:
build:
  stage: deploy
  when: on_success # only if previous stages' jobs all succeeded
  # override inherited cache settings since node_modules is not needed
  script:
     - mv dist public
    - npm run build
    - cp -a dist/. public/
  artifacts:
    paths:
      - public