Skip to content

Commit 49133e5

Browse files
committed
security updates
1 parent 31b44c1 commit 49133e5

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/workflows/build.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,22 @@ jobs:
2626
steps:
2727

2828
- name: Checkout
29-
uses: actions/checkout@v2
29+
uses: actions/checkout@v4
30+
31+
- name: Enable Corepack
32+
run: corepack enable
33+
34+
- name: Prepare Yarn 4
35+
run: corepack prepare yarn@4.0.2 --activate
36+
37+
- name: Verify Yarn version
38+
run: yarn -v
39+
40+
- name: Set up Node.js with Corepack
41+
uses: actions/setup-node@v4
42+
with:
43+
node-version: 22 # Or another supported version
44+
cache: 'yarn' # Caches Yarn dependencies
3045

3146
- name: Set up Docker Buildx
3247
uses: docker/setup-buildx-action@v1

0 commit comments

Comments
 (0)