npm to yarn ci
This commit is contained in:
parent
973e213c9f
commit
7dbdc345da
1 changed files with 4 additions and 4 deletions
|
@ -7,16 +7,16 @@ stages:
|
||||||
test:
|
test:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- npm install
|
- yarn install
|
||||||
- npm build
|
- yarn build
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
|
- if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
- npm install
|
- yarn install
|
||||||
- npm build
|
- yarn build
|
||||||
- mv ./build public
|
- mv ./build public
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue