-
Notifications
You must be signed in to change notification settings - Fork 505
57 lines (42 loc) · 1.24 KB
/
Copy pathverify-pull-request.yml
File metadata and controls
57 lines (42 loc) · 1.24 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
name: Verify Pull Request
on:
pull_request:
workflow_dispatch:
jobs:
verify:
runs-on: ubuntu-latest
timeout-minutes: 20
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup Node
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version-file: '.nvmrc'
cache: npm
- name: Install
run: npm ci
- name: Install Playwright Chromium
run: npx playwright install --with-deps chromium
- name: Format Check
run: npm run format:check
- name: Typecheck
run: npm run type-check
- name: Lint
run: npm run lint
- name: Run Storybook browser and accessibility tests
run: npm run test:storybook
- name: Run unit tests
run: npm run test:unit
- name: Build
run: npm run build
- name: Verify API Contract
run: npm run verify:api
- name: Verify Pack Contract
run: npm run verify:pack
- name: Verify Web Component
run: npm run verify:web-component
- name: Build Storybook
run: npm run build-storybook