forked from patternfly/patternfly-react
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: upgrade Yarn to a supported version
Closes patternfly#9959 Signed-off-by: Jon Koops <[email protected]>
- Loading branch information
Showing
15 changed files
with
28,311 additions
and
20,105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Setup project | ||
description: Sets up Node.js and Yarn, and installs dependencies, including cache. | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Set up Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
check-latest: true | ||
|
||
- name: Enable Corepack | ||
shell: bash | ||
run: corepack enable | ||
|
||
- name: Get Yarn configuration | ||
id: yarn-config | ||
shell: bash | ||
run: | | ||
echo "cache-folder=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT | ||
- uses: actions/cache@v4 | ||
name: Setup Yarn cache | ||
with: | ||
# Also cache Cypress binary. | ||
path: | | ||
~/.cache/Cypress | ||
${{ steps.yarn-config.outputs.cache-folder }} | ||
key: ${{ runner.os }}-yarn-cache-${{ hashFiles('yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn-cache- | ||
- name: Install dependencies | ||
shell: bash | ||
run: yarn install --immutable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
nodeLinker: node-modules |
Oops, something went wrong.