homebridge-securitysystem 6.3.2-beta.0 → 6.3.3-beta.3
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.
|
@@ -10,7 +10,8 @@ on:
|
|
|
10
10
|
jobs:
|
|
11
11
|
analyze-package:
|
|
12
12
|
name: Analyze package
|
|
13
|
-
uses: MiguelRipoll23/global/.github/workflows/analyze-
|
|
13
|
+
uses: MiguelRipoll23/global/.github/workflows/analyze-code.yml@main
|
|
14
14
|
|
|
15
15
|
with:
|
|
16
16
|
node-version: 16
|
|
17
|
+
languages: "javascript"
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
name: Install package
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches-ignore:
|
|
6
|
+
- stable
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
install-package:
|
|
10
|
+
name: Install package
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
|
|
13
|
+
steps:
|
|
14
|
+
- name: Checkout repository
|
|
15
|
+
uses: actions/checkout@v3
|
|
16
|
+
|
|
17
|
+
- name: Setup node
|
|
18
|
+
uses: actions/setup-node@v3
|
|
19
|
+
|
|
20
|
+
with:
|
|
21
|
+
cache: "npm"
|
|
22
|
+
registry-url: https://registry.npmjs.org/
|
|
23
|
+
|
|
24
|
+
- name: Install package
|
|
25
|
+
run: npm ci
|
|
@@ -5,12 +5,47 @@ on:
|
|
|
5
5
|
types: [published]
|
|
6
6
|
|
|
7
7
|
jobs:
|
|
8
|
+
install-package:
|
|
9
|
+
name: Install package
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
|
|
12
|
+
steps:
|
|
13
|
+
- name: Checkout repository
|
|
14
|
+
uses: actions/checkout@v3
|
|
15
|
+
|
|
16
|
+
- name: Setup node
|
|
17
|
+
uses: actions/setup-node@v3
|
|
18
|
+
|
|
19
|
+
with:
|
|
20
|
+
cache: "npm"
|
|
21
|
+
registry-url: https://registry.npmjs.org/
|
|
22
|
+
|
|
23
|
+
- name: Install package
|
|
24
|
+
run: npm ci
|
|
25
|
+
|
|
8
26
|
publish-package:
|
|
9
27
|
name: Publish package
|
|
10
|
-
|
|
28
|
+
runs-on: ubuntu-latest
|
|
29
|
+
needs: [install-package]
|
|
30
|
+
|
|
31
|
+
steps:
|
|
32
|
+
- name: Checkout repository
|
|
33
|
+
uses: actions/checkout@v3
|
|
34
|
+
|
|
35
|
+
- name: Setup node
|
|
36
|
+
uses: actions/setup-node@v3
|
|
37
|
+
|
|
38
|
+
with:
|
|
39
|
+
registry-url: https://registry.npmjs.org/
|
|
40
|
+
|
|
41
|
+
- name: Get version
|
|
42
|
+
run: |
|
|
43
|
+
echo "NPM_VERSION=${GITHUB_REF##*/v}" >> $GITHUB_ENV
|
|
44
|
+
|
|
45
|
+
- name: Publish package
|
|
11
46
|
|
|
12
|
-
|
|
13
|
-
|
|
47
|
+
env:
|
|
48
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
14
49
|
|
|
15
|
-
|
|
16
|
-
|
|
50
|
+
run: |
|
|
51
|
+
npm publish --access public --tag "$(if [[ $NPM_VERSION == *-* ]]; then echo beta; else echo latest; fi)"
|
package/package.json
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "homebridge-securitysystem",
|
|
3
3
|
"displayName": "Homebridge Security System",
|
|
4
|
-
"version": "6.3.
|
|
4
|
+
"version": "6.3.3-beta.3",
|
|
5
5
|
"description": "Homebridge plugin that creates a security system accessory that can be triggered by HomeKit sensors.",
|
|
6
6
|
"main": "src/index.js",
|
|
7
7
|
"scripts": {
|
|
8
|
-
"test": "npm install -g && homebridge -I -D"
|
|
9
|
-
"build": "exit 0"
|
|
8
|
+
"test": "npm install -g && homebridge -I -D"
|
|
10
9
|
},
|
|
11
10
|
"keywords": [
|
|
12
11
|
"homebridge-plugin",
|