Skip to content

Merge pull request #2 from unlayer/prepare-publish #9

Merge pull request #2 from unlayer/prepare-publish

Merge pull request #2 from unlayer/prepare-publish #9

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Type check
run: pnpm typecheck
- name: Build
run: pnpm build
- name: Run tests
run: pnpm test