1
Fork 0
mirror of https://github.com/RealOrangeOne/notes.git synced 2024-11-16 20:49:06 +00: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

17 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