Skip to content

Commit fd66068

Browse files
authored
Add support for node 20 (#698)
1 parent ca6a5ca commit fd66068

3 files changed

Lines changed: 12 additions & 3 deletions

File tree

.changeset/healthy-yaks-rest.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'pleasantest': minor
3+
---
4+
5+
Add support for Node 20

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Node.js CI
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
48

59
concurrency:
610
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
@@ -11,7 +15,7 @@ jobs:
1115
runs-on: ubuntu-latest
1216
strategy:
1317
matrix:
14-
node-version: [16.x, 18.x]
18+
node-version: [16.x, 18.x, 20.x]
1519
steps:
1620
- uses: actions/checkout@v3
1721
- name: Use Node.js ${{ matrix.node-version }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "pleasantest",
33
"version": "3.1.0",
44
"engines": {
5-
"node": "16 || 18"
5+
"node": "16 || 18 || 20"
66
},
77
"files": [
88
"dist"

0 commit comments

Comments
 (0)