Skip to content

Update README to reflect v2 changes (#128) #292

Update README to reflect v2 changes (#128)

Update README to reflect v2 changes (#128) #292

Workflow file for this run

name: Test
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
test-node:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Lint
run: pnpm lint
- name: Prettier
run: pnpm format:check
- name: Test Node
run: pnpm test
- name: Test browser
run: pnpm test:browser
- name: Test edge runtime
run: pnpm test:edge