From 6ea1cc2f4066796ca00c2bf0cb630ef4302df660 Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Tue, 10 May 2022 10:13:39 +0100 Subject: [PATCH] ci(gitlab-ci): fix test conversion job (reset back to #249) [skip ci] * Reset using https://github.com/myii/ssf-formula/pull/440 --- .gitlab-ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index de2f1cc4..e2bbe2de 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -137,8 +137,12 @@ rubocop: cache: *cache_bundler before_script: - 'export CONVERTED=test-the-use_this_template-button' - - 'git clone . tmp/"${CONVERTED}"-formula' - - 'cd tmp/"${CONVERTED}"-formula' + - 'git clone . /tmp/"${CONVERTED}"-formula' + - 'cd /tmp/"${CONVERTED}"-formula' + # Limit the version of `node` used by `pre-commit`, to avoid the following error: + # .../bin/node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found + - 'echo "default_language_version:" >> .pre-commit-config.yaml' + - 'echo " node: 16.14.2" >> .pre-commit-config.yaml' # Install `pre-commit` hooks - 'bin/install-hooks' # Run the conversion script with debug output