-
Notifications
You must be signed in to change notification settings - Fork 141
41 lines (32 loc) · 1003 Bytes
/
ci-pr.yml
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
36
37
38
39
40
41
name: CI-PR
on:
pull_request:
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
jobs:
build-and-test:
name: build & test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js, PNPM, and install dependencies
uses: ./.github/actions/pnpm-install
- name: Build all
working-directory: ./typescript
run: pnpm build
- name: Test all
working-directory: ./typescript
run: pnpm test
lint:
name: lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js, PNPM, and install dependencies
uses: ./.github/actions/pnpm-install
- name: Check for lint errors
working-directory: ./typescript
run: pnpm lint