Skip to content

chore: add browser testing support #36

chore: add browser testing support

chore: add browser testing support #36

Workflow file for this run

name: Unit tests
on:
pull_request_target:
types:
- opened
- edited
- synchronize
jobs:
test:
name: Unit tests
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js 20
uses: actions/setup-node@v3
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Test
run: pnpm test