-
Notifications
You must be signed in to change notification settings - Fork 2
54 lines (48 loc) · 1.48 KB
/
model.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
51
52
53
54
name: Model check
on:
pull_request:
merge_group:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run ESLint check
uses: ./.github/actions/lint
with:
package-name: '@editorjs/model'
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run unit tests
uses: ./.github/actions/unit-tests
with:
package-name: '@editorjs/model'
working-directory: './packages/model'
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build the package
uses: ./.github/actions/build
with:
package-name: '@editorjs/model'
mutation-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run mutation tests for changed files
if: ${{ github.event_name == 'pull_request' }}
uses: ./.github/actions/mutation-tests-changed-files
with:
package-name: '@editorjs/model'
working-directory: './packages/model'
stryker_dashboard_api_key: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
- name: Run mutation tests for all files
if: ${{ github.event_name == 'merge_group' }}
uses: ./.github/actions/mutation-tests-all-files
with:
package-name: '@editorjs/model'
working-directory: './packages/model'
stryker_dashboard_api_key: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}