Skip to content

convert repo to esm #58

convert repo to esm

convert repo to esm #58

Workflow file for this run

name: Node-CI Alpha
on:
push:
branches: [alpha-*.*.*, alpha]
workflow_dispatch:
jobs:
publish:
if: ${{ github.repository == 'homebridge/HAP-NodeJS' }}
uses: homebridge/.github/.github/workflows/npm-publish-esm.yml@latest
with:
tag: alpha
dynamically_adjust_version: true
npm_version_command: pre
pre_id: alpha
secrets:
npm_auth_token: ${{ secrets.npm_token }}
github-releases-to-discord:
name: Discord Webhooks
needs: [publish]
uses: homebridge/.github/.github/workflows/discord-webhooks.yml@latest
with:
title: HAP-NodeJS Alpha Release
description: |
Version `v${{ needs.publish.outputs.NPM_VERSION }}`
url: 'https://github.com/homebridge/homebridge/releases/tag/v${{ needs.publish.outputs.NPM_VERSION }}'
secrets:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_URL_BETA }}