Skip to content

Commit 730b800

Browse files
committed
Update CI
1 parent a47c8a8 commit 730b800

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

.github/workflows/node.js.yml

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,17 @@ jobs:
1212

1313
steps:
1414
- uses: actions/checkout@v4
15-
- name: Use Node.js 18
16-
uses: actions/setup-node@v4
17-
with:
18-
node-version: '18'
19-
cache: 'pnpm'
20-
15+
2116
- name: Install pnpm
2217
uses: pnpm/action-setup@v4
2318
with:
24-
version: 9
19+
version: 10
20+
21+
- name: Use Node.js 22
22+
uses: actions/setup-node@v4
23+
with:
24+
node-version: '22'
25+
cache: 'pnpm'
2526

2627
- name: Install Dependencies
2728
run: pnpm install --frozen-lockfile
@@ -40,16 +41,17 @@ jobs:
4041

4142
steps:
4243
- uses: actions/checkout@v4
43-
- name: Use Node.js ${{ matrix.node-version }}
44-
uses: actions/setup-node@v4
45-
with:
46-
node-version: '18'
47-
cache: 'pnpm'
48-
44+
4945
- name: Install pnpm
5046
uses: pnpm/action-setup@v4
5147
with:
52-
version: 9
48+
version: 10
49+
50+
- name: Use Node.js 22
51+
uses: actions/setup-node@v4
52+
with:
53+
node-version: '22'
54+
cache: 'pnpm'
5355

5456
- name: Build docker image
5557
run: docker build -t typescript-project .

0 commit comments

Comments
 (0)