Skip to content

Commit 4587d8f

Browse files
committed
Release 2.2.3
1 parent b78e3cd commit 4587d8f

25 files changed

+1131
-759
lines changed

.devcontainer/devcontainer.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ Dev containers have networking limitations depending on the host OS and Docker s
5252
// Use a shared bridge network to allow to access other containers with their names (dns resolution). With the default bridge, dns resolution does not work (only ip:port).
5353
"--network=matterbridge"
5454
],
55+
// Publish the Matterbridge UI port on the Docker host (so http://localhost:8283 works even without VS Code port forwarding)
56+
"appPort": [8283],
5557
"customizations": {
5658
"vscode": {
5759
// Extensions to install in the dev container

.devcontainer/install-matterbridge-dev.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ sudo rm -rf matterbridge/* matterbridge/.[!.]* matterbridge/..?*
1818
# Shallow clone for speed (history not needed inside dev container). Remove --depth if full history required.
1919
git clone --depth 1 --single-branch --no-tags -b dev https://github.com/Luligu/matterbridge.git matterbridge
2020
cd matterbridge
21+
SHA7=$(git rev-parse --short=7 HEAD) && BASE_VERSION=$(node -p "require('./package.json').version.split('-')[0]") && npm pkg set version="${BASE_VERSION}-git-${SHA7}"
2122
npm ci --no-fund --no-audit
2223
npm run build
2324
npm install . --global --no-fund --no-audit

.devcontainer/install-matterbridge-main.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ sudo rm -rf matterbridge/* matterbridge/.[!.]* matterbridge/..?*
1818
# Shallow clone for speed (history not needed inside dev container). Remove --depth if full history required.
1919
git clone --depth 1 --single-branch --no-tags https://github.com/Luligu/matterbridge.git matterbridge
2020
cd matterbridge
21+
SHA7=$(git rev-parse --short=7 HEAD) && BASE_VERSION=$(node -p "require('./package.json').version.split('-')[0]") && npm pkg set version="${BASE_VERSION}-git-${SHA7}"
2122
npm ci --no-fund --no-audit
2223
npm run build
2324
npm install . --global --no-fund --no-audit

.github/workflows/build.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
pull_request:
88
paths-ignore:
99
- '**/*.md' # any .md anywhere
10+
workflow_dispatch:
1011

1112
jobs:
1213
build:
@@ -26,9 +27,14 @@ jobs:
2627
uses: actions/setup-node@v4
2728
with:
2829
node-version: ${{ matrix.node-version }}
29-
registry-url: 'https://registry.npmjs.org'
3030
cache: npm
3131

32+
- name: Verify Node.js version
33+
run: node -v
34+
35+
- name: Verify Npm version
36+
run: npm -v
37+
3238
- name: Clone matterbridge repo
3339
run: git clone --depth 1 --single-branch --no-tags https://github.com/Luligu/matterbridge.git ../matterbridge
3440

.github/workflows/codecov.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,19 @@ jobs:
1818
steps:
1919
- name: Checkout
2020
uses: actions/checkout@v4
21-
with:
22-
fetch-depth: 2
2321

24-
- name: Set up Node
22+
- name: Setup Node.js 24.x
2523
uses: actions/setup-node@v4
2624
with:
27-
node-version: '22.x'
28-
registry-url: 'https://registry.npmjs.org'
25+
node-version: '24.x'
2926
cache: npm
3027

28+
- name: Verify Node.js version
29+
run: node -v
30+
31+
- name: Verify Npm version
32+
run: npm -v
33+
3134
- name: Clone matterbridge repo
3235
run: git clone --depth 1 --single-branch --no-tags https://github.com/Luligu/matterbridge.git ../matterbridge
3336

@@ -44,10 +47,10 @@ jobs:
4447
run: npm link --no-fund --no-audit
4548

4649
- name: Install dependencies
47-
run: npm ci
50+
run: npm ci --no-fund --no-audit
4851

4952
- name: Link matterbridge in the project
50-
run: npm link matterbridge
53+
run: npm link matterbridge --no-fund --no-audit
5154

5255
- name: Run tests
5356
run: npm run test:coverage -- --forceExit

.github/workflows/codeql.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,14 @@ on:
44
push:
55
branches: [main]
66
paths-ignore:
7+
- 'screenshots/**' # any file under screenshots/
8+
- 'scripts/**' # any file under scripts/
79
- '**/*.md' # any .md anywhere
810
pull_request:
911
branches: [main]
1012
paths-ignore:
13+
- 'screenshots/**' # any file under screenshots/
14+
- 'scripts/**' # any file under scripts/
1115
- '**/*.md' # any .md anywhere
1216
workflow_dispatch:
1317

@@ -25,4 +29,10 @@ jobs:
2529
- uses: github/codeql-action/init@v4
2630
with:
2731
languages: javascript
32+
config: |
33+
paths-ignore:
34+
- 'scripts/**'
35+
- '**/*.spec.ts'
36+
- '**/*.test.ts'
37+
- '**/__test__/*.ts'
2838
- uses: github/codeql-action/analyze@v4

.github/workflows/publish-daily-dev-from-dev.yml

Lines changed: 0 additions & 122 deletions
This file was deleted.

.github/workflows/publish-daily-dev-from-main.yml

Lines changed: 0 additions & 122 deletions
This file was deleted.

0 commit comments

Comments
 (0)