-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (33 loc) · 880 Bytes
/
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
name: 'ci'
on:
push:
jobs:
typecheck:
name: Typecheck
runs-on: ubuntu-latest
timeout-minutes: 15
env:
GH_PACKAGE_REGISTRY_TOKEN: ${{ secrets.GH_PACKAGE_REGISTRY_TOKEN }}
concurrency:
group: ci-typecheck-${{ github.ref }}
cancel-in-progress: true
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
- name: ⎔ Setup node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- name: 📥 Install dependencies
run: yarn
- name: 📦 Build packages
run: yarn build
- name: 👕 Lint
run: yarn lint
- name: 🔖 Typecheck
run: yarn typecheck
- name: 📥 Install Playwright Browsers
run: npx playwright install --with-deps
- name: 🎭 Playwright Tests
run: yarn test