Skip to content
This repository was archived by the owner on Dec 14, 2025. It is now read-only.

Test

Test #181

Workflow file for this run

name: Test
permissions:
contents: read
on:
push:
workflow_dispatch:
schedule:
- cron: '15 7 * * SUN'
jobs:
test:
if: github.actor != 'dependabot[bot]'
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [20.x, 22.x, 24.x]
matterbridge-branch: ['', 'dev']
steps:
- name: Checkout project
uses: actions/checkout@v4
- name: Prepare build environment
uses: ./.github/actions/prepare-environment
with:
node-version: ${{ matrix.node-version }}
matterbridge-branch: ${{ matrix.matterbridge-branch }}
- name: Build the project
run: npm run build
- name: Run the tests
run: npm run test
env:
ELECTROLUX_API_KEY: ${{ secrets.ELECTROLUX_API_KEY }}
ELECTROLUX_ACCESS_TOKEN_URL: https://www.thouky.co.uk/api/oauth/electrolux/${{ secrets.ELECTROLUX_API_KEY }}