Skip to content

Add TanStack DB + TanStack Query (React) example #3

Add TanStack DB + TanStack Query (React) example

Add TanStack DB + TanStack Query (React) example #3

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
- run: npm ci --prefer-offline
- name: Install and Build 🔧
run: |
npm ci --prefer-offline
npm run build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: dist