From 53df66d466d896fdd14ac1054fc84cfa866d4eb9 Mon Sep 17 00:00:00 2001 From: Donavan Becker Date: Mon, 12 Feb 2024 10:09:05 -0600 Subject: [PATCH] v2.2.6 * update dependencies ([4238c9d](https://github.com/homebridge/camera-utils/commit/4238c9db9e7021b4f490cd47a07cfcc31489b736)) --- .github/workflows/beta-release.yml | 8 ++++++++ .github/workflows/discord-webhooks.yml | 17 ----------------- .github/workflows/release.yml | 14 ++++++++++---- CHANGELOG.md | 6 ++++++ jest.config.js | 6 ++---- 5 files changed, 26 insertions(+), 25 deletions(-) delete mode 100644 .github/workflows/discord-webhooks.yml diff --git a/.github/workflows/beta-release.yml b/.github/workflows/beta-release.yml index ab8d5fc..d8ba4dc 100644 --- a/.github/workflows/beta-release.yml +++ b/.github/workflows/beta-release.yml @@ -29,3 +29,11 @@ jobs: pre_id: 'beta' secrets: npm_auth_token: ${{ secrets.npm_token }} + + github-releases-to-discord: + needs: publish + uses: homebridge/.github/.github/workflows/discord-webhooks.yml@latest + with: + footer_title: "camera-utils" + secrets: + DISCORD_WEBHOOK_URL_BETA: ${{ secrets.DISCORD_WEBHOOK_URL_LATEST }} diff --git a/.github/workflows/discord-webhooks.yml b/.github/workflows/discord-webhooks.yml deleted file mode 100644 index 5f5af4c..0000000 --- a/.github/workflows/discord-webhooks.yml +++ /dev/null @@ -1,17 +0,0 @@ -# This is a basic workflow to help you get started with Actions - -name: Discord Webhooks - -# Controls when the workflow will run -on: - release: - types: [released, prereleased] - -jobs: - github-releases-to-discord: - uses: homebridge/.github/.github/workflows/discord-webhooks.yml@latest - with: - footer_title: "camera-utils" - secrets: - DISCORD_WEBHOOK_URL_LATEST: ${{ secrets.DISCORD_WEBHOOK_URL_LATEST }} - DISCORD_WEBHOOK_URL_BETA: ${{ secrets.DISCORD_WEBHOOK_URL_LATEST }} \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 319b5ef..391e452 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,10 +1,8 @@ name: Node Release on: - push: - tags: - - 'v*.*.*' - workflow_dispatch: + release: + types: [published] jobs: build_and_test: @@ -22,3 +20,11 @@ jobs: uses: homebridge/.github/.github/workflows/npm-publish.yml@latest secrets: npm_auth_token: ${{ secrets.npm_token }} + + github-releases-to-discord: + needs: publish + uses: homebridge/.github/.github/workflows/discord-webhooks.yml@latest + with: + footer_title: "camera-utils" + secrets: + DISCORD_WEBHOOK_URL_LATEST: ${{ secrets.DISCORD_WEBHOOK_URL_LATEST }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e6e6d6..59d10a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [2.2.6](https://github.com/homebridge/camera-utils/compare/v2.2.5...v2.2.6) (2024-02-12) + +### Other Changes + +* update dependencies ([4238c9d](https://github.com/homebridge/camera-utils/commit/4238c9db9e7021b4f490cd47a07cfcc31489b736)) + ### [2.2.5](https://github.com/homebridge/camera-utils/compare/v2.2.4...v2.2.5) (2024-01-08) diff --git a/jest.config.js b/jest.config.js index 09111df..f968cf5 100644 --- a/jest.config.js +++ b/jest.config.js @@ -2,8 +2,6 @@ module.exports = { preset: 'ts-jest', testEnvironment: 'node', testMatch: ['**/test/**/*.spec.ts'], - coverageReporters: ["lcov"], - collectCoverageFrom: [ - "src/**" - ], + coverageReporters: ['lcov'], + collectCoverageFrom: ['src/**'], }