-
Notifications
You must be signed in to change notification settings - Fork 29
43 lines (33 loc) · 941 Bytes
/
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
42
43
name: pr-builds
on:
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 20
cache: yarn
- name: yarn install
run: yarn install --immutable
- name: Check formatting
run: yarn format:check
- name: build
working-directory: package
run: yarn build
- name: Typecheck
run: yarn workspaces foreach -pv run ci:typecheck
- name: Install Playwright deps
run: yarn test:install
- name: test samples
run: yarn test:samples
- name: unit tests
working-directory: package
run: yarn test
- name: integration tests
working-directory: package
run: yarn test:integration