Skip to content
This repository has been archived by the owner on Nov 9, 2024. It is now read-only.

Commit

Permalink
Merge pull request #249 from myii/ci/use-node-16-for-test-conversion-…
Browse files Browse the repository at this point in the history
…pre-commit

ci(gitlab-ci): use Node `16.x` for `pre-commit` in test conversion job
  • Loading branch information
myii authored Apr 25, 2022
2 parents 876385a + a1a46ae commit bdf294e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bdf294e

Please sign in to comment.