Skip to content

Commit 8db06a4

Browse files
committed
Use Node.js 20 in CI
1 parent 5d38ce8 commit 8db06a4

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ci.yaml

+6-4
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v3
1414
- uses: actions/setup-node@v3
1515
with:
16-
node-version: 18
16+
node-version: 20
1717
- run: npm ci
1818
- run: npm pack
1919
- uses: actions/upload-artifact@v3
@@ -26,7 +26,8 @@ jobs:
2626
steps:
2727
- uses: actions/checkout@v3
2828
- uses: actions/setup-node@v3
29-
with: { node-version: latest }
29+
with:
30+
node-version: 20
3031
- run: npm ci
3132
- run: npx prettier --check .
3233

@@ -35,7 +36,8 @@ jobs:
3536
steps:
3637
- uses: actions/checkout@v3
3738
- uses: actions/setup-node@v3
38-
with: { node-version: latest }
39+
with:
40+
node-version: 20
3941
- run: npm ci
4042
- run: npx remark --frail .
4143

@@ -51,7 +53,7 @@ jobs:
5153
steps:
5254
- uses: actions/setup-node@v3
5355
with:
54-
node-version: 18
56+
node-version: 20
5557
registry-url: https://registry.npmjs.org
5658
- uses: actions/download-artifact@v3
5759
with: { name: package }

0 commit comments

Comments
 (0)