mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-27 18:58:08 +00:00
Install modules only if needed
This commit is contained in:
parent
29d5d2ca26
commit
2ab0120e21
@ -4,9 +4,6 @@ cache:
|
|||||||
paths:
|
paths:
|
||||||
- node_modules
|
- node_modules
|
||||||
|
|
||||||
before_script:
|
|
||||||
- yarn install
|
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- test
|
- test
|
||||||
- build
|
- build
|
||||||
@ -15,6 +12,7 @@ stages:
|
|||||||
lint:
|
lint:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
|
- yarn install
|
||||||
- yarn run lint
|
- yarn run lint
|
||||||
|
|
||||||
flow:
|
flow:
|
||||||
@ -25,11 +23,13 @@ flow:
|
|||||||
unit:
|
unit:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
|
- yarn install
|
||||||
- yarn run test
|
- yarn run test
|
||||||
|
|
||||||
build development:
|
build development:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
|
- yarn install
|
||||||
- yarn run build:dev
|
- yarn run build:dev
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 1 month
|
expire_in: 1 month
|
||||||
@ -39,6 +39,7 @@ build development:
|
|||||||
build beta:
|
build beta:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
|
- yarn install
|
||||||
- yarn run build:beta
|
- yarn run build:beta
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 1 month
|
expire_in: 1 month
|
||||||
@ -49,6 +50,7 @@ build beta:
|
|||||||
build stable:
|
build stable:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
|
- yarn install
|
||||||
- yarn run build:stable
|
- yarn run build:stable
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 1 month
|
expire_in: 1 month
|
||||||
|
Loading…
Reference in New Issue
Block a user