Add .gitlab-ci.yml
This commit is contained in:
parent
3459e5b32a
commit
c45b6212b3
1 changed files with 13 additions and 0 deletions
13
.gitlab-ci.yml
Normal file
13
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,13 @@
|
|||
image: node:12.13.1
|
||||
|
||||
pages:
|
||||
script:
|
||||
- npm install typescript
|
||||
- ./node_modules/.bin/tsc -p tsconfig.json
|
||||
- mkdir public
|
||||
- cp -r index.html style.css dist public/
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
only:
|
||||
- master
|
Reference in a new issue