Skip to content

Add React 19 to peer dependencies (#282) #83

Add React 19 to peer dependencies (#282)

Add React 19 to peer dependencies (#282) #83

Workflow file for this run

name: Deploy
on:
push:
branches:
- default
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install
run: npm install
- name: Run tests
run: npm test
- name: Build example
run: |
npm run example
mkdir _deploy
cp example/bundle.js example/index.html _deploy
- name: Publish site
if: success()
uses: crazy-max/ghaction-github-pages@v4
with:
target_branch: gh-pages
build_dir: _deploy
keep_history: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}