chore(deps): use node 20

This commit is contained in:
Jeremy Kahn 2024-04-07 17:08:03 -05:00
parent 7556d491f3
commit 72526ebbbb
4 changed files with 6 additions and 6 deletions

View File

@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version: 18 node-version: 20
- run: npm ci - run: npm ci
- run: npm test - run: npm test

View File

@ -17,7 +17,7 @@ jobs:
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: 18 node-version: 20
cache: 'npm' cache: 'npm'
- name: Build - name: Build

2
.nvmrc
View File

@ -1 +1 @@
v18.12.1 v20.12.1

View File

@ -2,7 +2,7 @@
"name": "chitchatter", "name": "chitchatter",
"version": "0.0.0", "version": "0.0.0",
"homepage": "https://chitchatter.im/", "homepage": "https://chitchatter.im/",
"author": "Jeremy Kahn <jeremyckahn@gmail.com>", "author": "Jeremy Kahn <me@jeremyckahn.com>",
"license": "GPL-2.0-or-later", "license": "GPL-2.0-or-later",
"type": "module", "type": "module",
"dependencies": { "dependencies": {
@ -71,8 +71,8 @@
] ]
}, },
"engines": { "engines": {
"node": "18.12.1", "node": "20.12.1",
"npm": "8.19.2" "npm": "10.5.0"
}, },
"browserslist": { "browserslist": {
"production": [ "production": [