regexper-static/.gitlab-ci.yml
2019-01-02 19:21:29 -05:00

29 lines
310 B
YAML

image: node:latest
stages:
- test
- build
cache:
paths:
- node_modules/
before_script:
- yarn install
lint:
stage: test
script:
- yarn test:lint
pages:
stage: build
script:
- yarn build
- gzip -k -6 $(find public/ -type f)
artifacts:
paths:
- public
only:
- master