Skip to content

v6.0.0

v6.0.0 #44

Workflow file for this run

---
name: Release
on:
release:
types: [published]
workflow_dispatch:
jobs:
release:
name: Prepare release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node and Yarn
uses: volta-cli/action@v4
- name: Install dependencies
run: yarn install --immutable
- name: Build the files
run: yarn run build
- name: Zip the files
uses: thedoctor0/[email protected]
with:
type: zip
path: dist
filename: frigate-hass-card.zip
- name: Upload JS files to release
uses: svenstaro/[email protected]
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: dist/*.js
file_glob: true
tag: ${{ github.ref }}
overwrite: true
- name: Upload Zip file to release
uses: svenstaro/[email protected]
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: frigate-hass-card.zip
tag: ${{ github.ref }}
overwrite: true
- name: HACS release validation
uses: hacs/[email protected]
with:
category: plugin