Skip to content

Commit

Permalink
Add Alpha Releases (#1740)
Browse files Browse the repository at this point in the history
  • Loading branch information
donavanbecker committed Nov 19, 2023
1 parent b52b40b commit 57f4763
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/alpha-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Node-CI Alpha

on:
push:
branches: [alpha-*.*.*, alpha]
workflow_dispatch:

jobs:
build_and_test:
uses: homebridge/.github/.github/workflows/nodejs-build-and-test.yml@latest
with:
enable_coverage: true
install_cmd: npm ci && cd ui && npm ci
secrets:
token: ${{ secrets.GITHUB_TOKEN }}

lint:
needs: build_and_test
uses: homebridge/.github/.github/workflows/eslint.yml@latest
with:
install_cmd: npm ci && cd ui && npm ci

publish:
needs: lint

if: ${{ github.repository == 'homebridge/homebridge-config-ui-x' }}

uses: homebridge/.github/.github/workflows/npm-publish.yml@latest
with:
tag: 'alpha'
dynamically_adjust_version: true
npm_version_command: 'pre'
pre_id: 'alpha'
install_cmd: npm ci && cd ui && npm ci
secrets:
npm_auth_token: ${{ secrets.npm_token }}

0 comments on commit 57f4763

Please sign in to comment.