Skip to content

Commit

Permalink
fix: test new workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
tenequm committed Oct 3, 2023
1 parent ee52b59 commit 361bd7e
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/reusable-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,15 +175,19 @@ jobs:
ref: "${{ env.E2EBRANCHNAME }}"
path: e2eTests

# Fixing issue with not having yarn installed on self-hosted runners in Kubernetes
- name: Install yarn to fix self-hosted runner issue when running setup-node
#Ref: https://github.com/actions/setup-node/issues/182
run: |-
curl -fsSL --create-dirs -o $HOME/bin/yarn \
https://github.com/yarnpkg/yarn/releases/download/v1.22.19/yarn-1.22.19.js
chmod +x $HOME/bin/yarn
echo "$HOME/bin" >> $GITHUB_PATH
# # Fixing issue with not having yarn installed on self-hosted runners in Kubernetes
# - name: Install yarn to fix self-hosted runner issue when running setup-node
# #Ref: https://github.com/actions/setup-node/issues/182
# run: |-
# curl -fsSL --create-dirs -o $HOME/bin/yarn \
# https://github.com/yarnpkg/yarn/releases/download/v1.22.19/yarn-1.22.19.js
# chmod +x $HOME/bin/yarn
# echo "$HOME/bin" >> $GITHUB_PATH

- uses: actions/setup-node@v3
with:
node-version: '18.16.1'
- run: npm install -g yarn
- uses: actions/setup-node@v3
with:
node-version: '18.16.1'
Expand Down

0 comments on commit 361bd7e

Please sign in to comment.