-
Notifications
You must be signed in to change notification settings - Fork 1.2k
45 lines (35 loc) · 982 Bytes
/
tests_ci.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
42
43
44
45
name: CI
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
concurrency:
group: always-tests-${{ github.ref }}
cancel-in-progress: true
jobs:
linting:
name: Linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: ./.github/actions/ci-setup
- name: Prettier
run: pnpm lint:prettier
- name: TypeScript
run: pnpm lint:types
- name: ESLint
run: pnpm lint:eslint
- name: Preconstruct
run: pnpm build
- name: Prisma Filters
run: pnpm lint:filters
unit_tests:
name: Package Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: ./.github/actions/ci-setup
- name: Unit tests
run: pnpm jest --ci --runInBand --testPathIgnorePatterns=admin-ui-tests --testPathIgnorePatterns=api-tests --testPathIgnorePatterns=examples-smoke-tests --testPathIgnorePatterns=examples/testing