-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Following [this solution](actions/setup-node#480 (comment)) to enable corepack and caching.
- Loading branch information
1 parent
b74efad
commit fd8bffd
Showing
1 changed file
with
7 additions
and
8 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 |
---|---|---|
|
@@ -15,24 +15,23 @@ jobs: | |
node-version: ['22.11.0'] | ||
|
||
runs-on: ubuntu-24.04 | ||
|
||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
cache: 'yarn' | ||
|
||
|
||
- name: Enable Corepack | ||
run: corepack enable | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
cache: 'yarn' | ||
|
||
- name: Use Yarn 4.4.0 | ||
run: corepack prepare [email protected] --activate | ||
|
||
- name: Install Dependencies | ||
run: yarn install | ||
run: yarn install --immutable | ||
|
||
- name: Run Linter | ||
run: yarn rw lint | ||
|