Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,18 @@ jobs:
- name: Check out repository
uses: actions/checkout@v4

# This is required to confirm that GHA will use the right version of Yarn
- name: Enable Corepack
run: corepack enable

- name: Check yarn version
run: |
if [ "`yarn --version`" != "`cat package.json | jq .packageManager -r | cut -c 6-`" ]; then
echo "::warning file=package.json,title=YarnVersionMismatch::Yarn `yarn --version` does not match required version"
else
echo "::notice file=package.json,title=YarnVersionMatch::Yarn `yarn --version` matches required version"
fi

- name: Cache node modules
uses: actions/cache@v4
with:
Expand Down
Loading