Build on CI
This commit is contained in:
parent
9dffe823b4
commit
22292e19c3
1 changed files with 15 additions and 0 deletions
15
.gitlab-ci.yml
Normal file
15
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
build:
|
||||||
|
image: node:slim
|
||||||
|
stage: build
|
||||||
|
cache:
|
||||||
|
key: ${CI_COMMIT_REF_SLUG}
|
||||||
|
paths:
|
||||||
|
- .npm
|
||||||
|
- .cache
|
||||||
|
before_script:
|
||||||
|
- npm ci --cache .npm --prefer-offline
|
||||||
|
script:
|
||||||
|
- npm run build
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- public
|
Loading…
Reference in a new issue