From ed77eeb3d92d594bc85bb08ac20d082321d43d97 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Mon, 8 Aug 2022 00:20:06 +0200 Subject: [PATCH] CI: Install python before running yarn --- .gitlab-ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1a292ba2..604eeacb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: