Enforce coverage %.
This commit is contained in:
@@ -8,7 +8,7 @@ on:
|
||||
- dev
|
||||
pull_request:
|
||||
schedule:
|
||||
- cron: "17 6 * * *"
|
||||
- cron: '17 6 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
@@ -25,23 +25,31 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: yarn install --immutable
|
||||
|
||||
- name: Test & Coverage
|
||||
run: yarn run coverage
|
||||
|
||||
- name: Build
|
||||
run: yarn run build
|
||||
|
||||
- name: Test
|
||||
run: yarn run test
|
||||
|
||||
- name: HACS build validation
|
||||
uses: "hacs/action@21.12.1"
|
||||
uses: 'hacs/action@21.12.1'
|
||||
with:
|
||||
category: "plugin"
|
||||
category: 'plugin'
|
||||
|
||||
# Don't attempt to load into HACS (as it loads the release, not the
|
||||
# build).
|
||||
ignore: "hacs"
|
||||
ignore: 'hacs'
|
||||
|
||||
- name: Upload artifact
|
||||
- name: Upload javascript
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: frigate-hass-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@v3
|
||||
# with:
|
||||
# name: frigate-hass-card
|
||||
# path: visualizations/*.html
|
||||
|
||||
Reference in New Issue
Block a user