Elder.js GitLab CI
The snippet can be accessed without any authentication.
Authored by
Jonas Zohren
CI config for https://github.com/Elderjs/elderjs
.gitlab-ci.yml 336 B
image: node:15-alpine
# Test if page builds if it is not the master branch
pages:
script:
- npm ci
- npm run build
except:
- master
# Build page and deploy it to GitLab Pages if it is the master branch.
pages:
script:
- npm ci
- npm run build
artifacts:
paths:
- public
only:
- master
Please register or sign in to comment