Update node.js.yml

This commit is contained in:
mjking 2024-05-11 07:18:27 +08:00 committed by GitHub
parent 56985f9db6
commit 01d0b29b84
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
node-version: [20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
@ -28,5 +28,5 @@ jobs:
cache: 'npm'
- name: Install dependencies
run: npm install
- run: npm run build --devel
- run: npm test
- name: Build
run: npm run build