-
Notifications
You must be signed in to change notification settings - Fork 19
38 lines (35 loc) · 1.03 KB
/
mutation-testing.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
name: Mutation testing
on:
push:
branches: [master]
workflow_dispatch:
jobs:
website-frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
- run: npm ci
- run: npm run build
- run: npx playwright install chromium --with-deps
- name: Mutation testing
run: npx nx run @stryker-mutator/dashboard-frontend:stryker
env:
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
non-frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
- run: npm ci
- run: npm run build
- name: Mutation testing
run: npx nx run-many --parallel 1 --exclude @stryker-mutator/dashboard-frontend -t stryker
env:
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}