Skip to content

Commit 045bcef

Browse files
chore(ci): test on current/future-LTS Node 20 (#498)
1 parent ac81a14 commit 045bcef

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,21 @@ jobs:
77
- uses: actions/checkout@v3
88
- uses: actions/setup-node@v3
99
with:
10-
node-version: 18
10+
node-version: 20
1111
- name: Install deps, build, then clear deps
1212
run: |
1313
npm ci
1414
npm run build
1515
rm -rf node_modules
16+
- name: Test on Node 20
17+
run: |
18+
node -v
19+
npm run test
1620
# Not using a matrix here since it's simpler
1721
# to just duplicate it and not spawn new instances
22+
- uses: actions/setup-node@v3
23+
with:
24+
node-version: 18
1825
- name: Test on Node 18
1926
run: |
2027
node -v

0 commit comments

Comments
 (0)