forked from AkkomaGang/akkoma-fe
Update .gitlab-ci.yml
This commit is contained in:
parent
a4c58aab13
commit
30a908b56d
1 changed files with 5 additions and 3 deletions
|
@ -27,15 +27,18 @@ before_script:
|
||||||
# paths:
|
# paths:
|
||||||
# - node_modules/
|
# - node_modules/
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- build
|
||||||
|
- test
|
||||||
|
- deploy
|
||||||
|
|
||||||
test:
|
test:
|
||||||
script:
|
script:
|
||||||
- npm install -g yarn
|
|
||||||
- yarn
|
- yarn
|
||||||
- npm run unit
|
- npm run unit
|
||||||
|
|
||||||
build:
|
build:
|
||||||
script:
|
script:
|
||||||
- npm install -g yarn
|
|
||||||
- yarn
|
- yarn
|
||||||
- npm run build
|
- npm run build
|
||||||
artifacts:
|
artifacts:
|
||||||
|
@ -47,7 +50,6 @@ deploy:
|
||||||
only:
|
only:
|
||||||
- develop
|
- develop
|
||||||
script:
|
script:
|
||||||
- npm install -g yarn
|
|
||||||
- yarn
|
- yarn
|
||||||
- npm run build
|
- npm run build
|
||||||
- scp -r dist/* pleroma@tenshi.heldscal.la:~/pleroma
|
- scp -r dist/* pleroma@tenshi.heldscal.la:~/pleroma
|
||||||
|
|
Loading…
Reference in a new issue