test pipeline with ipfs-yarn

merge-requests/2/merge^2
Nato Boram 2019-11-29 03:01:48 -05:00
parent e6f8c9ccf1
commit c3c2cb36ff
No known key found for this signature in database
GPG Key ID: C035B4A0E33CF552
2 changed files with 6 additions and 5 deletions

View File

@ -1,7 +1,8 @@
image: node:13
before_script:
- yarn
- yarn global install ipfs-npm
- ipfs-yarn
cache:
paths:
@ -10,7 +11,7 @@ cache:
build:
stage: build
script:
- yarn run build:prod
- ipfs-yarn run build:prod
artifacts:
paths:
- dist/angular
@ -18,12 +19,12 @@ build:
test:
stage: test
script:
- yarn run lint
- ipfs-yarn run lint
pages:
stage: deploy
script:
- yarn run build:gitlab
- ipfs-yarn run build:gitlab
- mv dist/angular public
- cp public/index.html public/404.html
artifacts:

View File

@ -10,7 +10,7 @@
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
"yarn": "yarn-npm"
"yarn": "ipfs-yarn"
},
"private": false,
"dependencies": {