-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into grid-card-size-algorithm
- Loading branch information
Showing
1,255 changed files
with
48,029 additions
and
31,742 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
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 |
---|---|---|
@@ -1,31 +1,51 @@ | ||
Build: | ||
- build-scripts/** | ||
- .browserslistrc | ||
- gulpfile.js | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- build-scripts/** | ||
- .browserslistrc | ||
- gulpfile.js | ||
|
||
Cast: | ||
- cast/src/** | ||
- src/cast/** | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- cast/src/** | ||
- src/cast/** | ||
|
||
Demo: | ||
- demo/src/** | ||
- src/fake_data/** | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- demo/src/** | ||
- src/fake_data/** | ||
|
||
Design: | ||
- gallery/src/** | ||
- src/fake_data/** | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- gallery/src/** | ||
- src/fake_data/** | ||
|
||
Dependencies: | ||
- package.json | ||
- renovate.json | ||
- yarn.lock | ||
- .yarn/** | ||
- .yarnrc.yml | ||
- .nvmrc | ||
- any: | ||
- changed-files: | ||
# Match when only these files are changed (i.e. don't match PRs that happen to add or remove packages) | ||
- any-glob-to-all-files: | ||
- package.json | ||
- renovate.json | ||
- yarn.lock | ||
- .yarn/** | ||
- .yarnrc.yml | ||
- .nvmrc | ||
# Dependabot and Renovate branches always match (i.e. compatibility tweaks by members considered minor) | ||
- head-branch: | ||
- "^renovate/" | ||
- "^dependabot/" | ||
|
||
GitHub Actions: | ||
- .github/workflows/** | ||
- .github/*.yml | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- .github/workflows/** | ||
- .github/*.yml | ||
|
||
Supervisor: | ||
- hassio/src/** | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- hassio/src/** |
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 |
---|---|---|
|
@@ -24,9 +24,9 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out files from GitHub | ||
uses: actions/checkout@v3.6.0 | ||
uses: actions/checkout@v4.1.1 | ||
- name: Setup Node | ||
uses: actions/setup-node@v3.8.1 | ||
uses: actions/setup-node@v4.0.1 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
|
@@ -37,34 +37,37 @@ jobs: | |
- name: Build resources | ||
run: ./node_modules/.bin/gulp gen-icons-json build-translations build-locale-data gather-gallery-pages | ||
- name: Setup lint cache | ||
uses: actions/cache@v3.3.1 | ||
uses: actions/cache@v4.0.0 | ||
with: | ||
path: | | ||
node_modules/.cache/prettier | ||
node_modules/.cache/eslint | ||
node_modules/.cache/typescript | ||
key: lint-${{ github.sha }} | ||
restore-keys: lint- | ||
- name: Run eslint | ||
run: yarn run lint:eslint --quiet | ||
- name: Run tsc | ||
run: yarn run lint:types | ||
- name: Run lit-analyzer | ||
run: yarn run lint:lit --quiet | ||
- name: Run prettier | ||
run: yarn run lint:prettier | ||
test: | ||
name: Run tests | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out files from GitHub | ||
uses: actions/checkout@v3.6.0 | ||
uses: actions/checkout@v4.1.1 | ||
- name: Setup Node | ||
uses: actions/setup-node@v3.8.1 | ||
uses: actions/setup-node@v4.0.1 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
- name: Install dependencies | ||
run: yarn install --immutable | ||
- name: Build resources | ||
run: ./node_modules/.bin/gulp build-translations build-locale-data | ||
run: ./node_modules/.bin/gulp gen-icons-json build-translations build-locale-data | ||
- name: Run Tests | ||
run: yarn run test | ||
build: | ||
|
@@ -73,9 +76,9 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out files from GitHub | ||
uses: actions/checkout@v3.6.0 | ||
uses: actions/checkout@v4.1.1 | ||
- name: Setup Node | ||
uses: actions/setup-node@v3.8.1 | ||
uses: actions/setup-node@v4.0.1 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
|
@@ -85,15 +88,21 @@ jobs: | |
run: ./node_modules/.bin/gulp build-app | ||
env: | ||
IS_TEST: "true" | ||
- name: Upload bundle stats | ||
uses: actions/[email protected] | ||
with: | ||
name: frontend-bundle-stats | ||
path: build/stats/*.json | ||
if-no-files-found: error | ||
supervisor: | ||
name: Build supervisor | ||
needs: [lint, test] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out files from GitHub | ||
uses: actions/checkout@v3.6.0 | ||
uses: actions/checkout@v4.1.1 | ||
- name: Setup Node | ||
uses: actions/setup-node@v3.8.1 | ||
uses: actions/setup-node@v4.0.1 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
|
@@ -103,3 +112,9 @@ jobs: | |
run: ./node_modules/.bin/gulp build-hassio | ||
env: | ||
IS_TEST: "true" | ||
- name: Upload bundle stats | ||
uses: actions/[email protected] | ||
with: | ||
name: supervisor-bundle-stats | ||
path: build/stats/*.json | ||
if-no-files-found: error |
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
Oops, something went wrong.