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:
|
||||
stage: test
|
||||
script:
|
||||
- npm install
|
||||
- npm build
|
||||
- yarn install
|
||||
- yarn build
|
||||
rules:
|
||||
- if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
|
||||
|
||||
pages:
|
||||
stage: deploy
|
||||
script:
|
||||
- npm install
|
||||
- npm build
|
||||
- yarn install
|
||||
- yarn build
|
||||
- mv ./build public
|
||||
artifacts:
|
||||
paths:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue