Skip to content

convert repo to esm #24

convert repo to esm

convert repo to esm #24

Workflow file for this run

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@latest
# with:
# enable_coverage: true # will fail until https://github.com/bcoe/v8-coverage/pull/2 is merged
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
lint:
needs: build_and_test
uses: homebridge/.github/.github/workflows/eslint.yml@latest
publish:
needs: lint
if: ${{ github.repository == 'homebridge/ciao' }}
uses: homebridge/.github/.github/workflows/npm-publish-esm.yml@latest
with:
tag: beta
dynamically_adjust_version: true
npm_version_command: pre
pre_id: beta
secrets:
npm_auth_token: ${{ secrets.npm_token }}