-
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (37 loc) · 1.36 KB
/
ci-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
39
40
41
42
43
44
name: CI mutation
on:
workflow_dispatch:
schedule:
- cron: "0 2 * * 0"
jobs:
mutation:
env:
VUE_APP_API_KEY: YOUR_GOOGLE_MAPS_API_KEY
VUE_APP_FIREBASE_API_KEY: YOUR_FIREBASE_API_KEY
VUE_APP_FIREBASE_PROJECT_ID: YOUR_FIREBASE_PROJECT_ID
VUE_APP_FIREBASE_MESSAGING_SENDER_ID: YOUR_FIREBASE_MESSAGING_SENDER_ID
VUE_APP_FIREBASE_APP_ID: YOUR_FIREBASE_APP_ID
VUE_APP_FIREBASE_MEASUREMENT_ID: YOUR_FIREBASE_MEASUREMENT_ID
runs-on: ubuntu-latest
steps:
- name: Set git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v3
- uses: actions/[email protected]
id: cache
with:
path: ~/.npm
key: ubuntu-latest-node-v12-deps-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
run: npm ci
- name: Run unit tests
run: npm run test:mutation
env:
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: Reports
path: reports