Skip to content

chore: add example test #7

chore: add example test

chore: add example test #7

Workflow file for this run

name: build
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Install pnpm 📦
uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies 📦
run: pnpm install
- name: Lint 🧹
run: pnpm run lint
- name: Build 🔧
run: pnpm run build
- name: Test 🧪
run: pnpm run test:ci
- name: Build Docs 📖
run: pnpm run docs
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.5
with:
branch: gh-pages
folder: docs