mirror of
https://github.com/RealOrangeOne/notes.git
synced 2024-11-16 20:49:06 +00:00
Jake Howard
1e9b0d36d6
This means `npm ci` only has to rebuild the modules, rather than re-download them
17 lines
224 B
YAML
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
|