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

View File

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