Add GitLab CI config
This commit is contained in:
parent
a616987c5a
commit
ce10bcaeaa
1 changed files with 23 additions and 0 deletions
23
.gitlab-ci.yml
Normal file
23
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,23 @@
|
|||
image: alpine:latest
|
||||
|
||||
before_script:
|
||||
- apk add yarn
|
||||
- yarn global add node-gyp
|
||||
- yarn install
|
||||
|
||||
cache:
|
||||
paths:
|
||||
- node_modules
|
||||
|
||||
test:
|
||||
script:
|
||||
- yarn run test:jest
|
||||
|
||||
build:
|
||||
script:
|
||||
- yarn run build
|
||||
artifacts:
|
||||
paths:
|
||||
- public/packs
|
||||
- public/assets
|
||||
expire_in: 1 week
|
Loading…
Reference in a new issue