1
mirror of https://github.com/RealOrangeOne/notes.git synced 2024-07-01 09:53:53 +01:00
notes/.gitlab-ci.yml
Jake Howard 1e9b0d36d6
Just cache npm directory
This means `npm ci` only has to rebuild the modules, rather than re-download them
2020-09-30 19:27:33 +01:00

18 lines
224 B
YAML

image: "node:lts-slim"
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- ~/.npm
pages:
stage: deploy
script:
- npm ci --production
- npm run release
artifacts:
paths:
- public
only:
- master