-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Showing
279 changed files
with
11,328 additions
and
4,522 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -26,14 +26,20 @@ jobs: | |
- name: Check out files from GitHub | ||
uses: actions/[email protected] | ||
- name: Setup Node | ||
id: setup-node | ||
uses: actions/[email protected] | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
- uses: actions/[email protected] | ||
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) | ||
with: | ||
path: "node_modules" | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('.yarnrc.yml') }}-${{ steps.setup-node.outputs.node-version }}-${{ hashFiles('yarn.lock') }} | ||
restore-keys: ${{ runner.os }}-yarn-${{ hashFiles('.yarnrc.yml') }}-${{ steps.setup-node.outputs.node-version }} | ||
- name: Install dependencies | ||
if: steps.yarn-cache.outputs.cache-hit != 'true' | ||
run: yarn install --immutable | ||
- name: Check for duplicate dependencies | ||
run: yarn dedupe --check | ||
- name: Build resources | ||
run: ./node_modules/.bin/gulp gen-icons-json build-translations build-locale-data gather-gallery-pages | ||
- name: Setup lint cache | ||
|
@@ -60,11 +66,19 @@ jobs: | |
- name: Check out files from GitHub | ||
uses: actions/[email protected] | ||
- name: Setup Node | ||
id: setup-node | ||
uses: actions/[email protected] | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
- uses: actions/[email protected] | ||
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) | ||
with: | ||
path: "node_modules" | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('.yarnrc.yml') }}-${{ steps.setup-node.outputs.node-version }}-${{ hashFiles('yarn.lock') }} | ||
restore-keys: ${{ runner.os }}-yarn-${{ hashFiles('.yarnrc.yml') }}-${{ steps.setup-node.outputs.node-version }} | ||
- name: Install dependencies | ||
if: steps.yarn-cache.outputs.cache-hit != 'true' | ||
run: yarn install --immutable | ||
- name: Build resources | ||
run: ./node_modules/.bin/gulp gen-icons-json build-translations build-locale-data | ||
|
@@ -78,11 +92,19 @@ jobs: | |
- name: Check out files from GitHub | ||
uses: actions/[email protected] | ||
- name: Setup Node | ||
id: setup-node | ||
uses: actions/[email protected] | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
- uses: actions/[email protected] | ||
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) | ||
with: | ||
path: "node_modules" | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('.yarnrc.yml') }}-${{ steps.setup-node.outputs.node-version }}-${{ hashFiles('yarn.lock') }} | ||
restore-keys: ${{ runner.os }}-yarn-${{ hashFiles('.yarnrc.yml') }}-${{ steps.setup-node.outputs.node-version }} | ||
- name: Install dependencies | ||
if: steps.yarn-cache.outputs.cache-hit != 'true' | ||
run: yarn install --immutable | ||
- name: Build Application | ||
run: ./node_modules/.bin/gulp build-app | ||
|
@@ -102,11 +124,19 @@ jobs: | |
- name: Check out files from GitHub | ||
uses: actions/[email protected] | ||
- name: Setup Node | ||
id: setup-node | ||
uses: actions/[email protected] | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
- uses: actions/[email protected] | ||
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) | ||
with: | ||
path: "node_modules" | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('.yarnrc.yml') }}-${{ steps.setup-node.outputs.node-version }}-${{ hashFiles('yarn.lock') }} | ||
restore-keys: ${{ runner.os }}-yarn-${{ hashFiles('.yarnrc.yml') }}-${{ steps.setup-node.outputs.node-version }} | ||
- name: Install dependencies | ||
if: steps.yarn-cache.outputs.cache-hit != 'true' | ||
run: yarn install --immutable | ||
- name: Build Application | ||
run: ./node_modules/.bin/gulp build-hassio | ||
|
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 |
---|---|---|
|
@@ -50,3 +50,6 @@ src/cast/dev_const.ts | |
|
||
# Jetbrains | ||
/.idea/ | ||
|
||
# test coverage | ||
test/coverage/ |
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
Oops, something went wrong.