mirror of
https://github.com/trezor/trezor-wallet
synced 2025-01-02 12:20:53 +00:00
Build app using gitlab 2
This commit is contained in:
parent
5e85c9fef0
commit
63bfe4c6b9
@ -1,30 +1,62 @@
|
||||
image: node:8
|
||||
|
||||
cache:
|
||||
paths:
|
||||
- node_modules
|
||||
|
||||
before_script:
|
||||
- yarn install
|
||||
|
||||
build site:
|
||||
stage: build
|
||||
script:
|
||||
- yarn install --progress=false
|
||||
- yarn run build
|
||||
artifacts:
|
||||
expire_in: 1 week
|
||||
paths:
|
||||
- build
|
||||
stages:
|
||||
- test
|
||||
- build
|
||||
- deploy
|
||||
|
||||
cache:
|
||||
paths:
|
||||
- node_modules/
|
||||
|
||||
flow:
|
||||
script:
|
||||
- yarn run flow
|
||||
|
||||
test:lint:
|
||||
lint:
|
||||
stage: test
|
||||
script:
|
||||
- yarn run lint
|
||||
|
||||
test:unit:
|
||||
flow:
|
||||
stage: test
|
||||
script:
|
||||
- yarn run flow
|
||||
|
||||
test:
|
||||
stage: test
|
||||
script:
|
||||
- yarn run test
|
||||
|
||||
build-development:
|
||||
stage: build
|
||||
script:
|
||||
- yarn run build:dev
|
||||
artifacts:
|
||||
expire_in: 1 month
|
||||
paths:
|
||||
- build/dev
|
||||
|
||||
build-beta:
|
||||
stage: build
|
||||
script:
|
||||
- yarn run build:beta
|
||||
artifacts:
|
||||
expire_in: 1 month
|
||||
paths:
|
||||
- build/beta
|
||||
|
||||
build-production:
|
||||
stage: build
|
||||
script:
|
||||
- yarn run build:prod
|
||||
artifacts:
|
||||
expire_in: 1 month
|
||||
paths:
|
||||
- build/production
|
||||
|
||||
deploy_dev:
|
||||
stage: echo "Deploy dev"
|
||||
|
||||
deploy_staging:
|
||||
stage: deploy
|
||||
script: echo "Deploy staging"
|
Loading…
Reference in New Issue
Block a user