test pipeline with ipfs-yarn
parent
e6f8c9ccf1
commit
c3c2cb36ff
|
@ -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:
|
||||||
|
|
|
@ -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": {
|
||||||
|
|
Loading…
Reference in New Issue