Bumps [hacs/action](https://github.com/hacs/action) from 21.12.1 to 22.5.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/hacs/action/releases">hacs/action's releases</a>.</em></p> <blockquote> <h2>22.5.0</h2> <h2>What's Changed</h2> <ul> <li>Bump actions/checkout from 2.4.0 to 3 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/hacs/action/pull/29">hacs/action#29</a></li> <li>Migrate to docker action by <a href="https://github.com/ludeeus"><code>@ludeeus</code></a> in <a href="https://redirect.github.com/hacs/action/pull/30">hacs/action#30</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/hacs/action/compare/21.12.1...22.5.0">https://github.com/hacs/action/compare/21.12.1...22.5.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/hacs/action/commit/d556e736723344f83838d08488c983a15381059a"><code>d556e73</code></a> Delete release-drafter.yml</li> <li><a href="https://github.com/hacs/action/commit/eff54d64f50f8a02d3648d77d1ac909b3011ef67"><code>eff54d6</code></a> Delete release-drafter.yml</li> <li><a href="https://github.com/hacs/action/commit/9b8545c28fb3871677397d2d6ab687b285901a2c"><code>9b8545c</code></a> Fix image path</li> <li><a href="https://github.com/hacs/action/commit/1077020c2a7659697feb17aa95ce0e5334aeeb61"><code>1077020</code></a> Migrate to docker action (<a href="https://redirect.github.com/hacs/action/issues/30">#30</a>)</li> <li><a href="https://github.com/hacs/action/commit/1c38a977bb6ae5e83cc66e8d1e8cc8c636c295e5"><code>1c38a97</code></a> Bump actions/checkout from 2.4.0 to 3 (<a href="https://redirect.github.com/hacs/action/issues/29">#29</a>)</li> <li>See full diff in <a href="https://github.com/hacs/action/compare/21.12.1...22.5.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
62 lines
1.3 KiB
YAML
62 lines
1.3 KiB
YAML
---
|
|
name: 'Build'
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- dev
|
|
pull_request:
|
|
schedule:
|
|
- cron: '17 6 * * *'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
name: Test build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Setup Node and Yarn
|
|
uses: volta-cli/action@v5
|
|
|
|
- name: Install dependencies
|
|
run: yarn install --immutable
|
|
|
|
- name: Lint
|
|
run: yarn run lint
|
|
|
|
- name: Check formatting
|
|
run: yarn run format-check
|
|
|
|
- name: Test & Coverage
|
|
run: yarn run coverage
|
|
|
|
- name: Build
|
|
run: yarn run build
|
|
|
|
- name: HACS build validation
|
|
uses: 'hacs/action@22.5.0'
|
|
with:
|
|
category: 'plugin'
|
|
|
|
# Don't attempt to load into HACS (as it loads the release, not the
|
|
# build).
|
|
ignore: 'hacs'
|
|
|
|
- name: Upload javascript
|
|
uses: actions/upload-artifact@v7
|
|
with:
|
|
name: advanced-camera-card
|
|
path: dist/*.js
|
|
|
|
# When this issue is fixed, it would be useful to upload visualizations:
|
|
# https://github.com/actions/upload-artifact/issues/14
|
|
# - name: Upload visualizations
|
|
# uses: actions/upload-artifact@v7
|
|
# with:
|
|
# name: advanced-camera-card
|
|
# path: visualizations/*.html
|