Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
realFlowControl committed Nov 8, 2024
1 parent 1afaeec commit 8b77b9d
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/prof_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,14 @@ jobs:
container:
image: ${{ matrix.docker_image }}
options: --user root
volumes:
- /:/host # Jailbreak!

steps:
- name: Bypass GitHub Alpine detection and patch native node into runner env
- name: Patch native Alpine NodeJS into Runner environment
if: contains(matrix.docker_image, 'alpine')
run: |
apk add nodejs
apk add docker nodejs
sed -i "s:ID=alpine:ID=NotpineForGHA:" /etc/os-release
cd /host/home/runner/runners/*/externals/
rm -rf node20/*
mkdir node20/bin
ln -s /usr/bin/node node20/bin/node
docker run --rm -v /:/host alpine sh -c 'cd /host/home/runner/runners/*/externals/ && rm -rf node20/* && mkdir node20/bin && ln -s /usr/bin/node node20/bin/node'
shell: sh # No bash in Alpine by default

- name: Checkout repository
Expand Down

0 comments on commit 8b77b9d

Please sign in to comment.