Skip to content

Update README.md

Update README.md #19

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
test-and-verify:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref || github.ref_name }}
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Apply Biome autofixes
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
run: npm run lint:fix && npm run format
- name: Commit autofixes
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'chore: apply biome autofixes [skip ci]'
file_pattern: 'src/**/*.ts src/**/*.js src/**/*.json'
- name: Run tests
run: npm run test
- name: Run verification
run: npm run verify
- name: Build library
run: npm run build
- name: Build demo
run: npm run demo:build