Update template and workflow files from Homebridge template plugin

This commit is contained in:
dennis committed 2026-02-08 16:21:15 +01:00
1 parent a8bdeddabd
commit 2b840ec462
9 files changed
+59 -53

No files matched your search

+13 -7
View File
@@ -7,15 +7,15 @@ jobs:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# the Node.js versions to build on
node-version: [12.x, 13.x, 14.x, 15.x, 16.x]
node-version: [20.x, 22.x, 24.x]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v5
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
@@ -27,5 +27,11 @@ jobs:
- name: Build the project
run: npm run build
env:
CI: true
- name: List, audit, fix outdated dependencies and build again
run: |
npm list --outdated
npm audit || true # ignore failures
npm audit fix || true
npm list --outdated
npm run build