Skip to content

Commit

Permalink
v1.5.0 (#159)
Browse files Browse the repository at this point in the history
## [Version 1.5.0](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v1.5.0) (2022-08-27)

## What's Changed

- Added Color Bulb & Strip Light Support
- Fixed issue that caused excessive logging.

**Full Changelog**: v1.4.1...v1.5.0
  • Loading branch information
donavanbecker authored Oct 7, 2022
1 parent 5291057 commit 2833874
Show file tree
Hide file tree
Showing 23 changed files with 571 additions and 766 deletions.
36 changes: 0 additions & 36 deletions .github/ISSUE_TEMPLATE/bug-report.yml

This file was deleted.

11 changes: 0 additions & 11 deletions .github/ISSUE_TEMPLATE/config.yml

This file was deleted.

38 changes: 0 additions & 38 deletions .github/ISSUE_TEMPLATE/feature-request.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/PULL_REQUEST_TEMPLATE/pull_request.md

This file was deleted.

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: OpenWonderLabs/.github/.github/workflows/nodejs-build-and-test.yml@latest
with:
enable_coverage: true
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
lint:
needs: build_and_test
uses: OpenWonderLabs/.github/.github/workflows/eslint.yml@latest

publish:
needs: lint

if: ${{ github.repository == 'OpenWonderLabs/node-switchbot' }}

uses: OpenWonderLabs/.github/.github/workflows/npm-publish.yml@latest
with:
tag: 'beta'
dynamically_adjust_version: true
npm_version_command: 'pre'
pre_id: 'beta'
secrets:
npm_auth_token: ${{ secrets.npm_token }}
18 changes: 18 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Node Build

on:
push:
branches: [latest]
pull_request:
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 }}
lint:
needs: build_and_test
uses: OpenWonderLabs/.github/.github/workflows/eslint.yml@latest
65 changes: 4 additions & 61 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,70 +1,13 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [latest]
branches: [ latest, beta* ]
pull_request:
# The branches below must be a subset of the branches above
branches: [latest]
branches: [ latest, beta* ]
schedule:
- cron: "25 20 * * 2"
- cron: '17 9 * * 2'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: ["javascript"]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://git.io/codeql-language-support

steps:
- name: Checkout repository
uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: OpenWonderLabs/.github/.github/workflows/codeql-analysis.yml@latest
2 changes: 1 addition & 1 deletion .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
push:
branches:
- beta
- beta

jobs:
automerge:
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/label.yml → .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,14 @@
#
# To use this workflow, you will need to set up a .github/labeler.yml
# file with configuration. For more information, see:
# https://github.com/actions/labeler/blob/master/README.md
# https://github.com/actions/labeler/blob/main/README.md

name: Labeler

on: [pull_request]

jobs:
label:
runs-on: ubuntu-latest

steps:
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
uses: OpenWonderLabs/.github/.github/workflows/labeler.yml@latest
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
40 changes: 0 additions & 40 deletions .github/workflows/nodejs-beta.yml

This file was deleted.

45 changes: 0 additions & 45 deletions .github/workflows/nodejs.yml

This file was deleted.

Binary file added .github/workflows/old-workflow.zip
Binary file not shown.
34 changes: 0 additions & 34 deletions .github/workflows/prerelease.js

This file was deleted.

Loading

0 comments on commit 2833874

Please sign in to comment.