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