-
Notifications
You must be signed in to change notification settings - Fork 2
64 lines (52 loc) · 1.18 KB
/
code-qa.yaml
File metadata and controls
64 lines (52 loc) · 1.18 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
58
59
60
61
62
63
64
name: Code QA
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: code-qa
cancel-in-progress: true
jobs:
tests:
uses: ./.github/workflows/integration-test-workflow.yaml
with:
test_branch: ${{ github.head_ref }}
provide_quality_assessment: true
secrets:
token: ${{ secrets.WAPM_DEV_TOKEN }}
test_failure_webhook: ${{ secrets.SLACK_WH_INTEG_TEST_FAIL_DEV }}
fmt:
name: File format check
runs-on: ubuntu-24.04
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Add pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: Setup project
shell: bash
run: make setup
- name: Check prettier
run: |
make fmt-check
lint:
name: Lint the project
runs-on: ubuntu-24.04
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Add pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: Setup project
shell: bash
run: make setup
- name: Check tsc and eslint
run: |
make check