Skip to content

Commit f6eeef0

Browse files
author
Nicolò Maria Mezzopera
committed
chore: simple gitlab ci config file
1 parent f349a8a commit f6eeef0

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.gitlab-ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
image: node:10.15.0
2+
3+
stages:
4+
- build
5+
- test
6+
7+
cache:
8+
paths:
9+
- node_modules/
10+
11+
build site:
12+
stage: build
13+
script:
14+
- npm install --progress=false
15+
- npm run build
16+
17+
unit test:
18+
stage: test
19+
script:
20+
- npm run test
21+
artifacts:
22+
paths:
23+
- dist/
24+
- node_modules/
25+
- package.json

0 commit comments

Comments
 (0)