mirror of
https://github.com/dtwardow/homebridge-multi-tap-switch.git
synced 2026-11-01 20:18:30 +00:00
Update template and workflow files from Homebridge template plugin
This commit is contained in:
1 parent
a8bdeddabd
commit
2b840ec462
9 files changed
+59
-53
No files matched your search
@@ -41,4 +41,4 @@ Show your Homebridge config.json here, remove any sensitive information.
|
||||
* **NPM Version**: <!-- npm -v -->
|
||||
* **Operating System**: <!-- Raspbian / Ubuntu / Debian / Windows / macOS / Docker / hb-service -->
|
||||
|
||||
<!-- Click the "Preview" tab before you submit to ensure the formatting is correct. -->
|
||||
<!-- Click the "Preview" tab before you submit to ensure the formatting is correct. -->
|
||||
@@ -19,5 +19,4 @@ assignees: ''
|
||||
**Additional context:**
|
||||
<!-- Add any other context or screenshots about the feature request here. -->
|
||||
|
||||
|
||||
<!-- Click the "Preview" tab before you submit to ensure the formatting is correct. -->
|
||||
<!-- Click the "Preview" tab before you submit to ensure the formatting is correct. -->
|
||||
@@ -35,4 +35,4 @@ Show your Homebridge config.json here, remove any sensitive information.
|
||||
* **NPM Version**: <!-- npm -v -->
|
||||
* **Operating System**: <!-- Raspbian / Ubuntu / Debian / Windows / macOS / Docker / hb-service -->
|
||||
|
||||
<!-- Click the "Preview" tab before you submit to ensure the formatting is correct. -->
|
||||
<!-- Click the "Preview" tab before you submit to ensure the formatting is correct. -->
|
||||
@@ -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
|
||||
Reference in new issue
Block a user