remove yarn-ipfs
parent
141fed8a6e
commit
4ac6b557fa
|
@ -1,9 +1,7 @@
|
||||||
image: node:13
|
image: node:13
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- yarn global add ipfs-npm
|
- yarn
|
||||||
- ipfs-yarn global add @angular/cli
|
|
||||||
- ipfs-yarn
|
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
|
@ -12,24 +10,24 @@ cache:
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- ipfs-yarn run build:prod
|
- yarn run build:prod
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- dist
|
- dist/angular
|
||||||
|
|
||||||
test:
|
test:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- ipfs-yarn run lint
|
- yarn run lint
|
||||||
|
|
||||||
page:
|
page:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
- ipfs-yarn run build:gitlab
|
- 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:
|
||||||
paths:
|
paths:
|
||||||
- public
|
- dist/public
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
|
Loading…
Reference in New Issue