feat: refactor file structure #23
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Testing Workflow | |
on: | |
- push | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Initialize | |
uses: ./.github/actions/initialize/ | |
- name: Lint | |
run: pnpm run lint | |
test-unit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Initialize | |
uses: ./.github/actions/initialize/ | |
- name: Unit testing | |
run: pnpm run test | |
test-mutation: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Initialize | |
uses: ./.github/actions/initialize/ | |
- name: Setup Stryker cache | |
uses: actions/cache@v3 | |
with: | |
path: ./reports/stryker-incremental.json | |
key: ${{ runner.os }}-stryker | |
- name: Mutation testing | |
run: pnpm run test:mutation |