CI: Install python before running yarn
This commit is contained in:
parent
f1594354d6
commit
ed77eeb3d9
1 changed files with 2 additions and 3 deletions
|
@ -19,7 +19,7 @@ stages:
|
|||
build:
|
||||
stage: build
|
||||
before_script: &before-build
|
||||
- apk --no-cache add git
|
||||
- apk --no-cache add git python3
|
||||
- git config --global url."https://github.com/".insteadOf git://github.com/
|
||||
script:
|
||||
- yarn
|
||||
|
@ -32,7 +32,7 @@ build:
|
|||
lint:
|
||||
stage: test
|
||||
before_script: &before-yarn
|
||||
- apk --no-cache add git
|
||||
- apk --no-cache add git python3
|
||||
- git config --global url."https://github.com/".insteadOf git://github.com/
|
||||
- yarn cache clean
|
||||
- yarn
|
||||
|
@ -49,7 +49,6 @@ test:
|
|||
key: '$CI_COMMIT_SHORT_SHA'
|
||||
policy: pull
|
||||
script:
|
||||
- apk add python
|
||||
- yarn test
|
||||
|
||||
docker:
|
||||
|
|
Loading…
Reference in a new issue