Skip to content

Commit

Permalink
ci: include node 20
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Styk <[email protected]>
  • Loading branch information
StykMartin committed Feb 3, 2025
1 parent 7c2c336 commit bbc1461
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/review-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,18 @@ on:
jobs:
validate-docs:
env:
# https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
runs-on: ubuntu-latest
container:
image: centos:7

steps:
- uses: actions/checkout@v1
- name: Fetch Node 20 compatible with OL7
run: |
mkdir /node20217
curl -sL https://unofficial-builds.nodejs.org/download/release/v20.9.0/node-v20.9.0-linux-x64-glibc-217.tar.xz | tar -xJ --strip-components 1 -C /node20217
cp /node20217/bin/node ~/actions-runner/externals/node20/bin/
- uses: actions/checkout@v3
- name: Fixup CentOS repo files
run: |
sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo
Expand All @@ -43,7 +46,7 @@ jobs:
run: |
make -C documentation html SPHINXOPTS="-W"
mv documentation/_build/html /__w
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: beaker-docs
path: /home/runner/work/html
Expand Down Expand Up @@ -206,4 +209,4 @@ jobs:
- name: Run unit tests
run: |
pushd ${{ matrix.test-target }}
./run-tests.sh
./run-tests.sh

0 comments on commit bbc1461

Please sign in to comment.