-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Emile Nijssen
committed
Jun 23, 2022
1 parent
cbfa134
commit f22f831
Showing
168 changed files
with
3,656 additions
and
136,383 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"extends": "athom", | ||
"ignorePatterns": [ | ||
"/examples/**" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Deploy Documentation To GitHub Pages | ||
|
||
# v1.0.0 | ||
# | ||
# This workflow runs `npm run build` and then syncs the `build` folder to GitHub Pages. | ||
|
||
on: | ||
push: | ||
branches: [ production ] | ||
|
||
jobs: | ||
deploy: | ||
name: Build & Deploy | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '12' | ||
|
||
# Build | ||
- name: Build | ||
run: npm run build | ||
|
||
# Deploy | ||
- name: Deploy To GitHub Pages | ||
uses: peaceiris/[email protected] | ||
with: | ||
personal_token: ${{ secrets.HOMEY_GITHUB_ACTIONS_BOT_PERSONAL_ACCESS_TOKEN }} | ||
publish_dir: ./build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Lint | ||
|
||
# Optional secrets: | ||
# - SSH_KEY: if `npm ci` needs to install private npm packages | ||
|
||
# GitHub repo configuration: | ||
# 1. If you have protected branches, go to Branches > edit protected branch > enable 'Require status checks to pass before | ||
# merging' and select the 'ESLint' status check. | ||
|
||
# Note: make sure to commit package-lock.json, this is needed for `npm ci`. | ||
|
||
# Defines the trigger for this action (e.g. [pull_request, push]) | ||
# For more information see: https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows#about-workflow-events) | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
|
||
jobs: | ||
lint: | ||
name: Lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Checks out the current repository. | ||
- uses: actions/checkout@v2 | ||
|
||
# Configures a Node.js environment. | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: '12' | ||
|
||
# Set SSH key | ||
- uses: webfactory/[email protected] | ||
env: | ||
SSH_KEY: ${{ secrets.SSH_KEY }} | ||
if: env.SSH_KEY != null | ||
with: | ||
ssh-private-key: ${{ env.SSH_KEY }} | ||
|
||
# Run `npm ci` to re-create your local environment (make sure to commit your package-lock.json!). | ||
# Finally run `npm run lint` (make sure you have defined a lint command in package.json e.g. "lint": "eslint ."). | ||
- run: npm ci | ||
- run: npm run lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
/node_modules | ||
/build | ||
|
||
# Added by Homey CLI | ||
/.homeybuild/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"opts": { | ||
"mainpagetitle": "HomeyScript", | ||
"template": "./node_modules/homey-jsdoc-template", | ||
"simpleAnalyticsHost": "sa.athom.com", | ||
"destination": "./build" | ||
}, | ||
"source": { | ||
"include": [ | ||
"./README.md", | ||
"./" | ||
] | ||
}, | ||
"plugins": [ | ||
"plugins/markdown" | ||
] | ||
} |
Oops, something went wrong.