Skip to content

chore: migrate to msw@2 #126

chore: migrate to msw@2

chore: migrate to msw@2 #126

Workflow file for this run

name: ci
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- uses: pnpm/action-setup@v2
with:
version: 8.15
- name: Install dependencies
run: pnpm install
- name: Build the library
run: pnpm build
- name: Test the library
run: pnpm test