Skip to content

Commit

Permalink
update Testing & bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafał Drozda authored and DutchmanNL committed Oct 26, 2024
1 parent e1dd5ab commit 3f9d4d6
Show file tree
Hide file tree
Showing 7 changed files with 3,042 additions and 3,151 deletions.
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.prettierrc.js
**/.eslintrc.js
**/.eslintrc.js
admin/words.js
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
"semi": ["error", "always"]
},
"parserOptions": {
"ecmaVersion": 2020
"ecmaVersion": "latest"
}
}
52 changes: 52 additions & 0 deletions .github/workflows/branch-test-and-release.yml
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: '16.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: [16.x, 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'
2 changes: 1 addition & 1 deletion .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
node-version: [16.x, 18.x, 20.x, 22.X]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
Expand Down
7 changes: 6 additions & 1 deletion io-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,12 @@
{
"admin": ">=5.1.13"
}
]
],
"tier": 3,
"licenseInformation": {
"link":"https://github.com/DrozmotiX/ioBroker.bambulab/blob/main/LICENSE",
"type": "free"
}
},
"encryptedNative": [
"Password",
Expand Down
Loading

0 comments on commit 3f9d4d6

Please sign in to comment.