Skip to content

Commit 27b3428

Browse files
authored
fix: Mark NodeJS 19 and 20 as supported (#492)
1 parent 1c8a3c4 commit 27b3428

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ concurrency:
44
cancel-in-progress: true
55
on:
66
pull_request:
7-
push:
7+
push:
88
branches: [main]
99
defaults:
1010
run:
@@ -149,7 +149,7 @@ jobs:
149149
submodules: true
150150
- uses: actions/setup-node@v3
151151
with:
152-
node-version: 18
152+
node-version: 19
153153

154154
- name: Download Engine
155155
uses: actions/download-artifact@v3
@@ -245,7 +245,7 @@ jobs:
245245
uses: actions/checkout@v3
246246
- uses: actions/setup-node@v3
247247
with:
248-
node-version: 18
248+
node-version: 19
249249

250250
- name: Set up Fastly CLI
251251
uses: fastly/compute-actions/setup@v4
@@ -334,11 +334,14 @@ jobs:
334334
if: github.ref != 'refs/heads/main'
335335
runs-on: ubuntu-latest
336336
needs: [build]
337+
strategy:
338+
matrix:
339+
node-version: [18, 19]
337340
steps:
338341
- uses: actions/checkout@v3
339342
- uses: actions/setup-node@v3
340343
with:
341-
node-version: 18
344+
node-version: ${{ matrix.node-version }}
342345
- name: Download Engine
343346
uses: actions/download-artifact@v3
344347
with:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@fastly/js-compute",
33
"version": "1.8.0",
44
"engines": {
5-
"node": "16 - 18",
5+
"node": "16 - 20",
66
"npm": "^8 || ^9"
77
},
88
"license": "Apache-2.0",

0 commit comments

Comments
 (0)