@switchbot/homebridge-switchbot 1.12.9-beta.15 → 1.12.9-beta.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,24 +1,28 @@
|
|
|
1
|
+
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
|
|
2
|
+
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
|
|
3
|
+
|
|
1
4
|
name: Dependabot
|
|
2
5
|
|
|
3
6
|
on:
|
|
4
|
-
|
|
5
|
-
branches: beta
|
|
6
|
-
pull_request:
|
|
7
|
-
branches: beta
|
|
7
|
+
pull requests:
|
|
8
8
|
|
|
9
9
|
jobs:
|
|
10
10
|
build:
|
|
11
11
|
runs-on: ubuntu-latest
|
|
12
|
+
steps:
|
|
13
|
+
- uses: actions/checkout@v3
|
|
14
|
+
- uses: actions/setup-node@v3
|
|
15
|
+
with:
|
|
16
|
+
node-version: 14
|
|
17
|
+
- name: npm install
|
|
18
|
+
run: |
|
|
19
|
+
npm install
|
|
20
|
+
env:
|
|
21
|
+
CI: true
|
|
12
22
|
|
|
13
|
-
|
|
14
|
-
needs: build
|
|
23
|
+
depdendabot:
|
|
15
24
|
runs-on: ubuntu-latest
|
|
16
|
-
|
|
17
|
-
permissions:
|
|
18
|
-
pull-requests: write
|
|
19
|
-
contents: write
|
|
20
|
-
|
|
21
25
|
steps:
|
|
22
|
-
- uses: fastify/github-action-merge-dependabot@v3
|
|
26
|
+
- uses: fastify/github-action-merge-dependabot@v3
|
|
23
27
|
with:
|
|
24
28
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -33,11 +33,8 @@ jobs:
|
|
|
33
33
|
publish-npm:
|
|
34
34
|
# publish only if we are on our own repo, event was 'release' (a tag was created) and the tag starts with "v" (aka version tag)
|
|
35
35
|
if: github.repository == 'openwonderlabs/homebridge-switchbot' && github.event_name == 'release' && startsWith(github.ref, 'refs/tags/v')
|
|
36
|
-
|
|
37
36
|
needs: build # only run if build succeeds
|
|
38
|
-
|
|
39
37
|
runs-on: ubuntu-latest
|
|
40
|
-
|
|
41
38
|
steps:
|
|
42
39
|
- uses: actions/checkout@v3
|
|
43
40
|
- uses: actions/setup-node@v3
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "Homebridge SwitchBot",
|
|
3
3
|
"name": "@switchbot/homebridge-switchbot",
|
|
4
|
-
"version": "1.12.9-beta.
|
|
4
|
+
"version": "1.12.9-beta.18",
|
|
5
5
|
"description": "The [Homebridge](https://homebridge.io) SwitchBot plugin allows you to access your [SwitchBot](https://www.switch-bot.com) device(s) from HomeKit.",
|
|
6
6
|
"author": "SwitchBot <support@wondertechlabs.com> (https://github.com/SwitchBot)",
|
|
7
7
|
"license": "ISC",
|