Update node

This commit is contained in:
Will Scullin 2024-09-16 21:26:40 -07:00
parent 18f2fc7acf
commit 55bb6c3aa1
No known key found for this signature in database
GPG Key ID: B4C1F54591330F92
2 changed files with 5 additions and 2 deletions

View File

@ -8,12 +8,12 @@ jobs:
strategy: strategy:
matrix: matrix:
node-version: [16.x, 18.x] node-version: [18.x, 20.x, 22.x]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
submodules: "true" submodules: 'true'
- name: Use Node.js ${{ matrix.node-version }} - name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1 uses: actions/setup-node@v1
with: with:

View File

@ -3,6 +3,9 @@
"version": "0.0.1", "version": "0.0.1",
"description": "An Apple 1 Emulator in Javascript", "description": "An Apple 1 Emulator in Javascript",
"main": "dist/index.js", "main": "dist/index.js",
"engines": {
"node": ">= 18"
},
"scripts": { "scripts": {
"build": "webpack --mode=production", "build": "webpack --mode=production",
"dev": "webpack-dev-server", "dev": "webpack-dev-server",