Skip to content

Commit

Permalink
Merge pull request #17 from saiichihashimoto/stryker-and-tests
Browse files Browse the repository at this point in the history
some tests and running stryker in CI
  • Loading branch information
kodiakhq[bot] authored Jan 11, 2024
2 parents 5f30904 + 85f8554 commit 58d487d
Show file tree
Hide file tree
Showing 7 changed files with 1,466 additions and 84 deletions.
9 changes: 8 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,12 @@
{
"missingExports": true,
"unusedExports": true,
"ignoreExports": ["./*", "./src/next-pages.ts", "**/*.d.ts"]
"ignoreExports": [
"./*",
"./src/next-pages.ts",
"**/*.d.ts",
"**/*.test.ts"
]
}
],
"import/no-useless-path-segments": "error",
Expand Down Expand Up @@ -364,6 +369,8 @@
"rules": {
"id-length": "off",
"@typescript-eslint/promise-function-async": "off",
"fp/no-let": "off",
"fp/no-mutation": "off",
"fp/no-unused-expression": "off",
"import/no-extraneous-dependencies": [
"error",
Expand Down
14 changes: 1 addition & 13 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,16 +102,4 @@ jobs:
run: npm ci --ignore-scripts
- run: npm ls --package-lock-only

- id: cpu-cores
uses: SimenB/github-actions-cpu-cores@v2
- run: |
JEST_CACHE_DIRECTORY=$(npx jest --color --showConfig | jq --raw-output ".configs[0].cacheDirectory")
echo "JEST_CACHE_DIRECTORY=$JEST_CACHE_DIRECTORY" >> $GITHUB_ENV
- uses: actions/cache@v3
with:
path: ${{ env.JEST_CACHE_DIRECTORY }}
key: jest-${{ github.run_id }}
restore-keys: |
jest-
- run: npm test
- run: npm run stryker
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.DS_Store
.bundle
.eslintcache
.stryker-tmp
.turbo
Brewfile.lock.json
Gemfile.lock
Expand Down
Loading

0 comments on commit 58d487d

Please sign in to comment.