-
Notifications
You must be signed in to change notification settings - Fork 31
44 lines (33 loc) · 978 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
42
43
44
name: Continuous Integration
on:
pull_request:
types: [opened, synchronize]
push:
branches: [main]
tags: [v*]
permissions: read-all
jobs:
unit-tests:
runs-on: ubuntu-latest
permissions: read-all
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup
uses: ./.github/actions/setup
- run: npm run version:check
- name: Size check
run: npm run size-limit
- name: Lint code
run: npm run lint
- name: Lint docs
run: npm run lint:markdown
- name: Transpile code
run: npm run compile
- name: Install playwright
uses: ./.github/actions/install-playwright
- name: Unit tests
run: npm run test:unit
playwright:
uses: ./.github/workflows/tests.yml
secrets: inherit