forked from home-assistant/frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'home-assistant:dev' into dev
- Loading branch information
Showing
386 changed files
with
17,542 additions
and
12,422 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 |
---|---|---|
|
@@ -21,12 +21,12 @@ jobs: | |
url: ${{ steps.deploy.outputs.NETLIFY_LIVE_URL || steps.deploy.outputs.NETLIFY_URL }} | ||
steps: | ||
- name: Check out files from GitHub | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
with: | ||
ref: dev | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3.8.1 | ||
uses: actions/setup-node@v4.0.0 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
|
@@ -57,12 +57,12 @@ jobs: | |
url: ${{ steps.deploy.outputs.NETLIFY_LIVE_URL || steps.deploy.outputs.NETLIFY_URL }} | ||
steps: | ||
- name: Check out files from GitHub | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
with: | ||
ref: master | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3.8.1 | ||
uses: actions/setup-node@v4.0.0 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
|
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/[email protected].0 | ||
uses: actions/[email protected].1 | ||
- name: Setup Node | ||
uses: actions/setup-node@v3.8.1 | ||
uses: actions/setup-node@v4.0.0 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
|
@@ -55,9 +55,9 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out files from GitHub | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
- name: Setup Node | ||
uses: actions/setup-node@v3.8.1 | ||
uses: actions/setup-node@v4.0.0 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
|
@@ -73,9 +73,9 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out files from GitHub | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
- name: Setup Node | ||
uses: actions/setup-node@v3.8.1 | ||
uses: actions/setup-node@v4.0.0 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
|
@@ -85,15 +85,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/[email protected].0 | ||
uses: actions/[email protected].1 | ||
- name: Setup Node | ||
uses: actions/setup-node@v3.8.1 | ||
uses: actions/setup-node@v4.0.0 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
|
@@ -103,3 +109,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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ jobs: | |
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
with: | ||
# We must fetch at least the immediate parents so that if this is | ||
# a pull request then we can checkout the head. | ||
|
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 |
---|---|---|
|
@@ -22,12 +22,12 @@ jobs: | |
url: ${{ steps.deploy.outputs.NETLIFY_LIVE_URL || steps.deploy.outputs.NETLIFY_URL }} | ||
steps: | ||
- name: Check out files from GitHub | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
with: | ||
ref: dev | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3.8.1 | ||
uses: actions/setup-node@v4.0.0 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
|
@@ -58,12 +58,12 @@ jobs: | |
url: ${{ steps.deploy.outputs.NETLIFY_LIVE_URL || steps.deploy.outputs.NETLIFY_URL }} | ||
steps: | ||
- name: Check out files from GitHub | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
with: | ||
ref: master | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3.8.1 | ||
uses: actions/setup-node@v4.0.0 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
|
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 |
---|---|---|
|
@@ -16,10 +16,10 @@ jobs: | |
url: ${{ steps.deploy.outputs.NETLIFY_LIVE_URL || steps.deploy.outputs.NETLIFY_URL }} | ||
steps: | ||
- name: Check out files from GitHub | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3.8.1 | ||
uses: actions/setup-node@v4.0.0 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
|
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 |
---|---|---|
|
@@ -21,10 +21,10 @@ jobs: | |
if: github.repository == 'home-assistant/frontend' && contains(github.event.pull_request.labels.*.name, 'needs design preview') | ||
steps: | ||
- name: Check out files from GitHub | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3.8.1 | ||
uses: actions/setup-node@v4.0.0 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
|
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 |
---|---|---|
|
@@ -20,15 +20,15 @@ jobs: | |
contents: write | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
|
||
- name: Set up Python ${{ env.PYTHON_VERSION }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ env.PYTHON_VERSION }} | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3.8.1 | ||
uses: actions/setup-node@v4.0.0 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
|
@@ -57,14 +57,14 @@ jobs: | |
run: tar -czvf translations.tar.gz translations | ||
|
||
- name: Upload build artifacts | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v3.1.3 | ||
with: | ||
name: wheels | ||
path: dist/home_assistant_frontend*.whl | ||
if-no-files-found: error | ||
|
||
- name: Upload translations | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v3.1.3 | ||
with: | ||
name: translations | ||
path: translations.tar.gz | ||
|
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,25 @@ | ||
name: RelativeCI | ||
|
||
on: | ||
workflow_run: | ||
workflows: [CI] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
upload: | ||
name: Upload stats | ||
if: ${{ github.event.workflow_run.conclusion == 'success' }} | ||
strategy: | ||
matrix: | ||
bundle: [frontend, supervisor] | ||
build: [modern, legacy] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Send bundle stats and build information to RelativeCI | ||
uses: relative-ci/[email protected] | ||
with: | ||
key: ${{ secrets[format('RELATIVE_CI_KEY_{0}_{1}', matrix.bundle, matrix.build)] }} | ||
token: ${{ github.token }} | ||
artifactName: ${{ format('{0}-bundle-stats', matrix.bundle) }} | ||
webpackStatsFile: ${{ format('{0}-{1}.json', matrix.bundle, matrix.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 |
---|---|---|
|
@@ -23,7 +23,7 @@ jobs: | |
contents: write # Required to upload release assets | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
|
||
- name: Verify version | ||
uses: home-assistant/actions/helpers/verify-version@master | ||
|
@@ -34,7 +34,7 @@ jobs: | |
python-version: ${{ env.PYTHON_VERSION }} | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3.8.1 | ||
uses: actions/setup-node@v4.0.0 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
|
@@ -74,7 +74,7 @@ jobs: | |
echo "home-assistant-frontend==$version" > ./requirements.txt | ||
- name: Build wheels | ||
uses: home-assistant/wheels@2023.09.1 | ||
uses: home-assistant/wheels@2023.10.5 | ||
with: | ||
abi: cp311 | ||
tag: musllinux_1_2 | ||
|
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 |
---|---|---|
|
@@ -13,7 +13,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
|
||
- name: Upload Translations | ||
run: | | ||
|
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 |
---|---|---|
|
@@ -47,3 +47,6 @@ src/cast/dev_const.ts | |
|
||
# Home Assistant config | ||
/config/ | ||
|
||
# Jetbrains | ||
/.idea/ |
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 +1 @@ | ||
18 | ||
lts/iron |
Oops, something went wrong.