homebridge-dummy-cmd-switch
Version:
Homebridge plugin to create momentary dummy switch to run command line commands.
28 lines (22 loc) • 486 B
YAML
name: Publish
on:
release:
types:
- created
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22.x
registry-url: https://registry.npmjs.org/
- name: Install dependencies
run: npm ci
- name: Publish to NPM
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish