Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
32 lines
562 B
YAML
32 lines
562 B
YAML
---
|
|
name: 'Build'
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
schedule:
|
|
- cron: "17 6 * * *"
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
name: Test build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Build
|
|
run: |
|
|
npm install
|
|
npm run build
|
|
|
|
- name: HACS build validation
|
|
uses: "hacs/action@21.12.1"
|
|
with:
|
|
category: "plugin"
|
|
|
|
# Don't attempt to load into HACS (as it loads the release, not the
|
|
# build).
|
|
ignore: "hacs"
|