Skip to content

Merge pull request #25 from Bandwidth/chore/soften-blocker-wording #6

Merge pull request #25 from Bandwidth/chore/soften-blocker-wording

Merge pull request #25 from Bandwidth/chore/soften-blocker-wording #6

Workflow file for this run

name: Playground
on:
push:
branches: ["main"]
workflow_dispatch:
concurrency:
group: playground-release
cancel-in-progress: false
jobs:
release:
name: Publish
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: "22"
cache: npm
- name: Install dependencies
run: npm ci
- name: Build playground
run: npm run playground:build
- name: Publish playground.html to rolling release
env:
GH_TOKEN: ${{ github.token }}
run: |
if gh release view playground-latest >/dev/null 2>&1; then
gh release upload playground-latest dist/playground.html --clobber
else
gh release create playground-latest dist/playground.html \
--title "Migration Preflight Playground (latest)" \
--notes "Auto-published from main on every push. Download playground.html and double-click — no install, no server, works offline." \
--latest=false
fi