Skip to content

Commit

Permalink
Update orca.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sayan goswami committed Aug 2, 2024
1 parent 162f11c commit 0a8df42
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/orca.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,15 +141,17 @@ jobs:
run: |
../orca/bin/ci/self-test/before_install.sh
../orca/bin/ci/before_install.sh
# D11 requires yarn>=4.1.1
npm cache clean --force
# Remove the previous yarn installed in the container.
npm uninstall -g yarn
npm install -g corepack
corepack enable
yarn set version 4.1.1
yarn -v
if [[ "$ORCA_ENABLE_NIGHTWATCH" == "TRUE" && "$ORCA_SUT_HAS_NIGHTWATCH_TESTS" && -d "$ORCA_YARN_DIR" ]]; then
# Install yarn 4.1.1.
cd "$ORCA_YARN_DIR" || exit
npm cache clean --force
# Remove the previous yarn installed in the container.
npm uninstall -g yarn
npm install -g corepack
corepack enable
yarn set version 4.1.1
yarn -v
fi
- name: Install
run: |
Expand Down

0 comments on commit 0a8df42

Please sign in to comment.