chore(deps): pin dependencies #748
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: Mutation Testing | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
ci-checks: | |
name: Mutation Testing | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18.x | |
cache: yarn | |
id: setup-node | |
- name: Get Node Version | |
run: echo "::set-output name=version::$(node -v)" | |
id: node-version | |
- name: Cache node_modules | |
uses: actions/cache@v4 | |
with: | |
path: "**/node_modules" | |
key: ${{ runner.os }}-${{ steps.node-version.outputs.version }}-${{ hashFiles('**/yarn.lock') }} | |
- name: Install Packages | |
run: yarn install --frozen-lockfile | |
- name: Run Stryker | |
run: yarn test:mutants | |
env: | |
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }} |