-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Rafał Drozda
authored and
DutchmanNL
committed
Oct 26, 2024
1 parent
e1dd5ab
commit 2d7d5fd
Showing
7 changed files
with
4,369 additions
and
10,415 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
.prettierrc.js | ||
**/.eslintrc.js | ||
**/.eslintrc.js | ||
admin/words.js |
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 |
---|---|---|
|
@@ -37,6 +37,6 @@ | |
"semi": ["error", "always"] | ||
}, | ||
"parserOptions": { | ||
"ecmaVersion": 2020 | ||
"ecmaVersion": "latest" | ||
} | ||
} |
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,52 @@ | ||
name: Test and Release | ||
|
||
# Run this job on all pushes and pull requests | ||
# as well as tags with a semantic version | ||
on: | ||
push: | ||
branches: | ||
- "*" | ||
tags: | ||
# normal versions | ||
- "v[0-9]+.[0-9]+.[0-9]+" | ||
# pre-releases | ||
- "v[0-9]+.[0-9]+.[0-9]+-**" | ||
pull_request: {} | ||
|
||
# Cancel previous PR/branch runs when a new commit is pushed | ||
concurrency: | ||
group: ${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
# Performs quick checks before the expensive test runs | ||
check-and-lint: | ||
if: contains(github.event.head_commit.message, '[skip ci]') == false | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: ioBroker/testing-action-check@v1 | ||
with: | ||
node-version: '20.x' | ||
# Uncomment the following line if your adapter cannot be installed using 'npm ci' | ||
# install-command: 'npm install' | ||
lint: true | ||
|
||
# Runs adapter tests on all supported node versions and OSes | ||
adapter-tests: | ||
if: contains(github.event.head_commit.message, '[skip ci]') == false | ||
|
||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
node-version: [18.x, 20.x, 22.x] | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
|
||
steps: | ||
- uses: ioBroker/testing-action-adapter@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
os: ${{ matrix.os }} | ||
# Uncomment the following line if your adapter cannot be installed using 'npm ci' | ||
# install-command: 'npm install' |
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.