-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (42 loc) · 1.11 KB
/
quality-check.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
45
46
47
48
49
50
name: Quality Check
on:
pull_request:
branches: ["**"]
# When pushing a new commit we should
# cancel the previous test run to not
# consume more runners than we need to.
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: Lint application
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Lint packages
uses: "./.github/actions/lint"
test:
name: Test application
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Build all packages
uses: "./.github/actions/build-all"
- name: Prepare Vue env
uses: "./.github/actions/prepare-env"
with:
package: vue
cbId: ${{ secrets.COOKIEBOT_ID }}
- name: Prepare Nuxt env
uses: "./.github/actions/prepare-env"
with:
package: nuxt
cbId: ${{ secrets.COOKIEBOT_ID }}
- name: Test packages
uses: "./.github/actions/test"