Skip to content

Commit

Permalink
Add beta-release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Supereg committed Nov 13, 2021
1 parent 7883422 commit e8445c5
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/beta-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Node-CI Beta

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

jobs:
build_and_test:
uses: homebridge/.github/.github/workflows/nodejs-build-and-test.yml@main
with:
enable_coverage: true
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
lint:
needs: build_and_test
uses: homebridge/.github/.github/workflows/eslint.yml@main

publish:
needs: lint

if: ${{ secrests.npm_token != null }}

uses: homebridge/.github/.github/workflows/npm-publish.yml@main
with:
tag: 'beta'
dynamically_adjust_version: true
npm_version_command: 'pre'
pre_id: 'beta'
secrets:
npm_auth_token: ${{ secrets.npm_token }}

0 comments on commit e8445c5

Please sign in to comment.