Add GitLab CI config
This commit is contained in:
parent
bb9a2813ca
commit
9c781a1476
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