Skip to content

Commit

Permalink
Fix jobs for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nickovchinnikov committed Oct 4, 2021
1 parent 9b6889c commit 0e50c3f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ jobs:
# Run build
- name: Build
run: npm run build

# Run Stryker-Mutator check
- name: Stryker-Mutator
run: npm run test:mutate

# Adds Chromatic as a step in the workflow
- name: Publish to Chromatic
Expand All @@ -50,3 +46,17 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
# Chromatic projectToken, refer to the manage page to obtain it.
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}

mutation_testing:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Install deps
- name: Install npm deps
run: npm i

# Run Stryker-Mutator check
- name: Stryker-Mutator
run: npm run test:mutate
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,3 +258,9 @@
### Refactoring useGame 2

[Pull request](https://github.com/nickovchinnikov/minesweeper/pull/46/files)

### RDT profiler and React.memo + useCallback intro

### React.memo + useCallback optimization

[Pull request](https://github.com/nickovchinnikov/minesweeper/pull/47/files)

0 comments on commit 0e50c3f

Please sign in to comment.