Skip to content

v2.0.0 (#218)

v2.0.0 (#218) #14

Workflow file for this run

name: Node Release
on:
push:
tags:
- 'v*.*.*'
workflow_dispatch:
jobs:
build_and_test:
uses: OpenWonderLabs/.github/.github/workflows/nodejs-build-and-test.yml@latest
with:
enable_coverage: true
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
publish:
needs: build_and_test
if: ${{ github.repository == 'OpenWonderLabs/node-switchbot' }}
uses: OpenWonderLabs/.github/.github/workflows/npm-publish.yml@latest
secrets:
npm_auth_token: ${{ secrets.npm_token }}