Commit 784ec871 authored by JunHyung An's avatar JunHyung An
Browse files

Revert

parent 912bd0b3
Loading
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
@@ -17,11 +17,17 @@ cache:
          - node_modules/
      policy: pull  # prevent subsequent jobs from modifying cache

before_script:
    # define cache dir & use it npm!
    - npm ci --cache node_modules/ --prefer-offline
#   # monorepo users: run secondary install actions
#   - npx lerna bootstrap -- --cache .npm/ --prefer-offline

build:
  stage: build
  # global cache settings are inherited to grab `node_modules`
  script:
    - npm ci --cache node_modules/ --prefer-offline
    - npm run build
    - npm run lint
  artifacts:
    paths:
@@ -32,8 +38,7 @@ pages:
  when: on_success # only if previous stages' jobs all succeeded
  # override inherited cache settings since node_modules is not needed
  script:
    - echo 'Pages deployment job'
    - mv dist public
     mv dist public
  artifacts:
    paths:
      - public