-
-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* introduced new item configuration syntax using device metadata concept * added new device capabilities for camera, door/window covering, fan, networking and vacuum * improved security arm state error handling * added input custom mappings support * added playback stop and thermostat hold/fan capabilities support * added new custom asset ids and semantic extensions * added switch support to mode generic capability * improved dimmer/rollershutter support for range value generic capability * updated test suite increasing code coverage * added support for ask-cli v2 using cloudformation deployer * added github action to update repository locales on crowdin changes * deprecated item sensor concept for decouple state support on specific capabilities * removed item tag support for oh3.x * removed alexa smarthome api v2 support Signed-off-by: jsetton <jeremy.setton@gmail.com>
- Loading branch information
Showing
470 changed files
with
50,554 additions
and
19,097 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
defaults: | ||
run: | ||
working-directory: lambda | ||
|
||
jobs: | ||
test: | ||
name: Testing | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [12.x, 14.x] | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Run tests | ||
run: npm run test:coverage | ||
|
||
- name: Upload coverage report | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: coverage-report | ||
path: lambda/coverage | ||
|
||
codeql: | ||
name: Code Analysis | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v1 | ||
with: | ||
languages: javascript | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: locale | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
paths: [ resources/locales/** ] | ||
|
||
jobs: | ||
locale: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '12.x' | ||
|
||
- name: Update skill locale | ||
run: node tools/updateSkillLocale.js | ||
|
||
- name: Check for changes to commit | ||
id: changes | ||
run: test -n "$(git status -suno)" | ||
continue-on-error: true | ||
|
||
- name: Commit and push changes | ||
if: steps.changes.outcome == 'success' | ||
run: | | ||
git config user.name openhab-bot | ||
git config user.email bot@openhab.org | ||
git commit -a -m "New locale updates" | ||
git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.