Skip to content
This repository was archived by the owner on Mar 30, 2025. It is now read-only.

Commit 0a5d0eb

Browse files
committed
Use Node.js 20 in CI
1 parent fe1ff66 commit 0a5d0eb

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v3
1212
- uses: actions/setup-node@v3
1313
with:
14-
node-version: 18
14+
node-version: 20
1515
- run: npm ci
1616
- run: npx eslint .
1717

@@ -21,7 +21,7 @@ jobs:
2121
- uses: actions/checkout@v3
2222
- uses: actions/setup-node@v3
2323
with:
24-
node-version: 18
24+
node-version: 20
2525
- run: npm ci
2626
- run: npm pack
2727
- uses: actions/upload-artifact@v3
@@ -35,7 +35,7 @@ jobs:
3535
- uses: actions/checkout@v3
3636
- uses: actions/setup-node@v3
3737
with:
38-
node-version: 18
38+
node-version: 20
3939
- run: npm ci
4040
- run: npx remark --frail .
4141

@@ -59,15 +59,15 @@ jobs:
5959
name: test-results-node${{ matrix.node-version }}
6060
path: test-results/
6161
- uses: codecov/codecov-action@v3
62-
if: ${{ matrix.node-version == 18 }}
62+
if: ${{ matrix.node-version == 20 }}
6363

6464
prettier:
6565
runs-on: ubuntu-latest
6666
steps:
6767
- uses: actions/checkout@v1
6868
- uses: actions/setup-node@v1
6969
with:
70-
node-version: 18
70+
node-version: 20
7171
- run: npm ci
7272
- run: npx prettier .
7373

@@ -77,7 +77,7 @@ jobs:
7777
- uses: actions/checkout@v3
7878
- uses: actions/setup-node@v3
7979
with:
80-
node-version: 18
80+
node-version: 20
8181
- run: npm ci
8282
- run: npx tsc
8383

@@ -94,7 +94,7 @@ jobs:
9494
steps:
9595
- uses: actions/setup-node@v3
9696
with:
97-
node-version: 18
97+
node-version: 20
9898
registry-url: https://registry.npmjs.org
9999
- uses: actions/download-artifact@v3
100100
with: { name: package }

0 commit comments

Comments
 (0)