Skip to content

ci: drop npm publish, distribute via jsDelivr's GitHub mirror only #10

ci: drop npm publish, distribute via jsDelivr's GitHub mirror only

ci: drop npm publish, distribute via jsDelivr's GitHub mirror only #10

Workflow file for this run

# Deploy the repo as-is to GitHub Pages so the demo (test/index.html) and the
# self-service benchmark (test/bench.html) are publicly runnable. The library
# is plain ES modules with no build step, so the artifact is the repo root.
name: Deploy Pages
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
- uses: actions/configure-pages@v5
- uses: actions/upload-pages-artifact@v3
with:
path: .
- uses: actions/deploy-pages@v4
id: deployment