Skip to content

Commit b74efad

Browse files
authored
Update actions to v4 and add caching
1 parent ffebdb2 commit b74efad

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,22 @@ on:
99

1010
jobs:
1111
lint-and-test:
12+
13+
strategy:
14+
matrix:
15+
node-version: ['22.11.0']
16+
1217
runs-on: ubuntu-24.04
1318

1419
steps:
1520
- name: Checkout Code
16-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
1722

1823
- name: Setup Node.js
19-
uses: actions/setup-node@v3
20-
with:
21-
node-version: 22.11.0
22-
24+
uses: actions/setup-node@v4
25+
with:
26+
cache: 'yarn'
27+
2328
- name: Enable Corepack
2429
run: corepack enable
2530

0 commit comments

Comments
 (0)