Skip to content

0.1.2

0.1.2 #5

Workflow file for this run

name: Release
on:
release:
types: [published]
jobs:
release:
name: Prepare release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: latest
cache: 'yarn'
- run: pwd
- run: yarn install
- run: yarn build
# Upload dist file to the release as an asset.
- name: Upload dist files to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: /home/runner/work/lovelace-weather-icons/lovelace-weather-icons/dist/weather-icons.js
overwrite: true
# Validate the release
- name: HACS Validation
uses: "hacs/action@main"
with:
category: "plugin"