CI: Install python before running yarn

This commit is contained in:
Haelwenn (lanodan) Monnier 2022-08-08 00:20:06 +02:00
parent f1594354d6
commit ed77eeb3d9

View file

@ -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: