Skip to content

Commit 96bf174

Browse files
committed
fix(ci): node v
1 parent d313d0c commit 96bf174

File tree

4 files changed

+20
-0
lines changed

4 files changed

+20
-0
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ jobs:
88
steps:
99
- name: Checkout
1010
uses: actions/checkout@v4
11+
- name: Set up Node
12+
uses: actions/setup-node@v4
13+
with:
14+
node-version: 20
15+
cache: "yarn"
1116
- name: Install
1217
run: yarn --frozen-lockfile
1318
- name: Build

.github/workflows/lint.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ jobs:
88
steps:
99
- name: Checkout
1010
uses: actions/checkout@v4
11+
- name: Set up Node
12+
uses: actions/setup-node@v4
13+
with:
14+
node-version: 20
15+
cache: "yarn"
1116
- name: Install
1217
run: yarn --frozen-lockfile
1318
- name: Lint

.github/workflows/publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ jobs:
1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@v4
18+
- name: Set up Node
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: 20
22+
cache: "yarn"
1823
- name: Install
1924
run: yarn --frozen-lockfile
2025
- name: Bundle

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ jobs:
88
steps:
99
- name: Checkout
1010
uses: actions/checkout@v4
11+
- name: Set up Node
12+
uses: actions/setup-node@v4
13+
with:
14+
node-version: 20
15+
cache: "yarn"
1116
- name: Install
1217
run: yarn --frozen-lockfile
1318
- name: Test

0 commit comments

Comments
 (0)