-
Notifications
You must be signed in to change notification settings - Fork 147
41 lines (34 loc) · 800 Bytes
/
test.yaml
File metadata and controls
41 lines (34 loc) · 800 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
36
37
38
39
40
41
name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 2
- uses: pnpm/action-setup@v4
- name: Use Node.js 20
uses: actions/setup-node@v5
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: ESLint
run: pnpm lint
- name: Prettier
run: pnpm format:check
- name: Build Packages
run: pnpm build
- name: Run Tests
run: pnpm test
- name: Check for API Changes
run: pnpm api:check