Skip to content

Commit

Permalink
Add support for node 20 (#698)
Browse files Browse the repository at this point in the history
  • Loading branch information
calebeby authored Jun 2, 2023
1 parent ca6a5ca commit fd66068
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/healthy-yaks-rest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'pleasantest': minor
---

Add support for Node 20
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Node.js CI

on: [push, pull_request]
on:
push:
branches:
- main
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand All @@ -11,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
node-version: [16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "pleasantest",
"version": "3.1.0",
"engines": {
"node": "16 || 18"
"node": "16 || 18 || 20"
},
"files": [
"dist"
Expand Down

0 comments on commit fd66068

Please sign in to comment.