Add GitLab CI config
This commit is contained in:
parent
cb11b0f78e
commit
9532a62f22
1 changed files with 17 additions and 0 deletions
17
.gitlab-ci.yml
Normal file
17
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,17 @@
|
|||
image: node:latest
|
||||
|
||||
before_script:
|
||||
- 'curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -'
|
||||
- 'echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list'
|
||||
- apt-get update && apt-get install -y yarn
|
||||
- yarn install
|
||||
|
||||
build:
|
||||
script:
|
||||
- npm run build
|
||||
artifacts:
|
||||
paths:
|
||||
- public/packs
|
||||
- public/assets
|
||||
expire_in: 1 week
|
||||
|
Loading…
Reference in a new issue