v1.0.12 #12
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Release" | |
on: | |
release: | |
types: | |
- "published" | |
permissions: {} | |
jobs: | |
release: | |
name: "Prepare Release" | |
runs-on: "ubuntu-latest" | |
permissions: | |
contents: write | |
steps: | |
- name: "Repository checkout" | |
uses: "actions/checkout@v4" | |
- name: "NPM Build Plugin" | |
run: | | |
cd "${{ github.workspace }}" | |
npm install | |
npm run buildgithub | |
- name: "Upload Files to Release" | |
uses: softprops/[email protected] | |
with: | |
files: "${{ github.workspace }}/dist/spotifyplus_card.js" | |
# plugin file(s) will be placed in the following Home Assistant configuration directory | |
# location once it is installed via HACS: | |
# "/config/www/community/spotifyplus_card/spotifyplus_card.js" |