Skip to content

Initial commit — UltimatePower Card v0.1.0 (skeleton) #1

Initial commit — UltimatePower Card v0.1.0 (skeleton)

Initial commit — UltimatePower Card v0.1.0 (skeleton) #1

Workflow file for this run

name: Build & Release
on:
push:
tags:
- 'v*.*.*'
workflow_dispatch:
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci || npm install
- run: npm run build
- name: Upload built bundle to release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v2
with:
files: dist/ultimate-power-card.js
generate_release_notes: true