Mirror: 馃帺 A tiny but capable push & pull stream library for TypeScript and Flow
1name: CI
2
3on:
4 pull_request:
5 pull_request_review:
6 types: [submitted, edited]
7 branches: changeset-release/main
8
9jobs:
10 check:
11 name: Checks
12 runs-on: ubuntu-latest
13 timeout-minutes: 10
14 steps:
15 - name: Checkout Repo
16 uses: actions/checkout@v3
17 with:
18 fetch-depth: 0
19
20 - name: Setup pnpm
21 uses: pnpm/action-setup@v3
22 with:
23 version: 9
24 run_install: false
25
26 - name: Setup Node
27 uses: actions/setup-node@v4
28 with:
29 node-version: 22
30 cache: 'pnpm'
31
32 - name: Install Dependencies
33 run: pnpm install --frozen-lockfile --prefer-offline
34
35 - name: TypeScript
36 run: pnpm run check
37
38 - name: Linting
39 run: pnpm run lint
40
41 - name: Unit Tests
42 run: pnpm run test
43
44 - name: Build
45 run: pnpm run build