From 55bb6c3aa15e3671bf2d47ba335ecb10a1b8ca17 Mon Sep 17 00:00:00 2001 From: Will Scullin Date: Mon, 16 Sep 2024 21:26:40 -0700 Subject: [PATCH] Update node --- .github/workflows/nodejs.yml | 4 ++-- package.json | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 3205339..98862e3 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -8,12 +8,12 @@ jobs: strategy: matrix: - node-version: [16.x, 18.x] + node-version: [18.x, 20.x, 22.x] steps: - uses: actions/checkout@v2 with: - submodules: "true" + submodules: 'true' - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: diff --git a/package.json b/package.json index 2e73de1..d60fd80 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,9 @@ "version": "0.0.1", "description": "An Apple 1 Emulator in Javascript", "main": "dist/index.js", + "engines": { + "node": ">= 18" + }, "scripts": { "build": "webpack --mode=production", "dev": "webpack-dev-server",