-
-
Notifications
You must be signed in to change notification settings - Fork 423
35 lines (27 loc) · 599 Bytes
/
ci.yml
File metadata and controls
35 lines (27 loc) · 599 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Continuous Integration
on:
pull_request:
push:
branches:
- master
jobs:
check:
runs-on: ubuntu-latest
name: Lint, typecheck and test
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Use Node.js 20
uses: actions/setup-node@v3
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
run: pnpm i
- name: Run tests
run: pnpm run test
- name: Build
run: pnpm run build