Skip to content

fix: don't initially return 0,0 as its a valid mouse position but is … #11

fix: don't initially return 0,0 as its a valid mouse position but is …

fix: don't initially return 0,0 as its a valid mouse position but is … #11

Workflow file for this run

name: Deploy Example to GitHub Pages
on:
push:
branches:
- main # or master
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
# Install dependencies in both root and examples directory
run: |
npm ci
cd example
npm ci
- name: Build
# Build the example app
run: |
cd example
npm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: example/dist # Changed to example/build
branch: gh-pages