diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c1081ec..5d6fb46 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -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 diff --git a/README.md b/README.md index 66f07e8..a8314e9 100644 --- a/README.md +++ b/README.md @@ -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)