regexper-static/.gitlab-ci.yml

29 lines
310 B
YAML
Raw Normal View History

2019-01-03 00:21:29 +00:00
image: node:latest
stages:
2019-01-02 23:26:50 +00:00
- test
- build
cache:
paths:
- node_modules/
before_script:
- yarn install
2019-01-02 23:26:50 +00:00
lint:
stage: test
script:
- yarn test:lint
pages:
stage: build
script:
2019-01-03 00:21:29 +00:00
- yarn build
- gzip -k -6 $(find public/ -type f)
artifacts:
paths:
- public
only:
- master