-
Notifications
You must be signed in to change notification settings - Fork 46
39 lines (36 loc) · 1000 Bytes
/
Copy pathmutation.yml
File metadata and controls
39 lines (36 loc) · 1000 Bytes
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
name: mutation
on:
schedule:
# Run every Monday at 04:00 UTC. Stryker is slow (~5-15min on CI),
# so we keep it out of the default PR pipeline.
- cron: '0 4 * * 1'
workflow_dispatch:
permissions:
contents: read
jobs:
mutate:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v6
- uses: actions/setup-node@v6
with:
node-version: 22
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Prepare
run: pnpm run dev:prepare
- name: Build package
run: pnpm run build:package
- name: Mutate
run: pnpm --filter evlog run mutate
- name: Upload Stryker report
if: always()
uses: actions/upload-artifact@v4
with:
name: stryker-report
path: packages/evlog/reports/mutation
if-no-files-found: ignore
retention-days: 14