-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (34 loc) · 990 Bytes
/
quality.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: Code Quality
on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
quality:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: It must install the dependencies
uses: ./.github/actions/prepare/install
with:
install-node: "true"
install-dotnet: "true"
- name: The build should work
run: pnpm run -w build;
- name: Require to pass static code check
run: |
git stash -u;
pnpm run -w code-static:check;
if [ `git stash list | wc -l` -gt 0 ]; then
git stash pop;
fi
- name: Require updated integrations
run: |
if [ `git status --porcelain=1 | wc -l` -ne 0 ]; then
git status --porcelain=1;
exit 1;
fi
- name: Require changesets
run: changeset status --since=development