Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
donavanbecker committed Oct 16, 2024
1 parent 53df66d commit 097c133
Show file tree
Hide file tree
Showing 5 changed files with 659 additions and 147 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/beta-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

if: ${{ github.repository == 'homebridge/camera-utils' }}

uses: homebridge/.github/.github/workflows/npm-publish.yml@latest
uses: homebridge/.github/.github/workflows/npm-publish-esm.yml@latest
with:
tag: 'beta'
dynamically_adjust_version: true
Expand All @@ -31,9 +31,13 @@ jobs:
npm_auth_token: ${{ secrets.npm_token }}

github-releases-to-discord:
needs: publish
name: Discord Webhooks
needs: [build_and_test,publish]
uses: homebridge/.github/.github/workflows/discord-webhooks.yml@latest
with:
footer_title: "camera-utils"
title: "Camera Utils Beta Release"
description: |
Version `v${{ needs.publish.outputs.NPM_VERSION }}`
url: "https://github.com/homebridge/camera-utils/releases/tag/v${{ needs.publish.outputs.NPM_VERSION }}"
secrets:
DISCORD_WEBHOOK_URL_BETA: ${{ secrets.DISCORD_WEBHOOK_URL_LATEST }}
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_URL_LATEST }}
12 changes: 8 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,18 @@ jobs:

if: ${{ github.repository == 'homebridge/camera-utils' }}

uses: homebridge/.github/.github/workflows/npm-publish.yml@latest
uses: homebridge/.github/.github/workflows/npm-publish-esm.yml@latest
secrets:
npm_auth_token: ${{ secrets.npm_token }}

github-releases-to-discord:
needs: publish
name: Discord Webhooks
needs: [build_and_test,publish]
uses: homebridge/.github/.github/workflows/discord-webhooks.yml@latest
with:
footer_title: "camera-utils"
title: "Camera Utils Release"
description: |
Version `v${{ needs.publish.outputs.NPM_VERSION }}`
url: "https://github.com/homebridge/camera-utils/releases/tag/v${{ needs.publish.outputs.NPM_VERSION }}"
secrets:
DISCORD_WEBHOOK_URL_LATEST: ${{ secrets.DISCORD_WEBHOOK_URL_LATEST }}
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_URL_LATEST }}
Loading

0 comments on commit 097c133

Please sign in to comment.