Skip to content

Commit

Permalink
ci: disable github action file annotations for eslint, tsc, and jest (#…
Browse files Browse the repository at this point in the history
…10399)

Signed-off-by: Logan McAnsh <logan@mcan.sh>
  • Loading branch information
mcansh authored Apr 26, 2023
1 parent f92aa2e commit 4c789a9
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ jobs:
check-latest: true
node-version-file: ".nvmrc"

- name: Disable GitHub Actions Annotations
run: |
echo "::remove-matcher owner=tsc::"
echo "::remove-matcher owner=eslint-compact::"
echo "::remove-matcher owner=eslint-stylish::"
- name: 📥 Install deps
run: yarn --frozen-lockfile

Expand Down
2 changes: 2 additions & 0 deletions packages/react-router-dom-v5-compat/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/** @type {import('jest').Config} */
module.exports = {
testEnvironment: "jsdom",
testMatch: ["**/__tests__/*-test.[jt]s?(x)"],
Expand All @@ -20,4 +21,5 @@ module.exports = {
"^react-router$": "<rootDir>/../react-router/index.ts",
"^react-router-dom-v5-compat$": "<rootDir>/index.ts",
},
reporters: ["default"],
};
2 changes: 2 additions & 0 deletions packages/react-router-dom/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/** @type {import('jest').Config} */
module.exports = {
testEnvironment: "jsdom",
testMatch: ["**/__tests__/*-test.[jt]s?(x)"],
Expand All @@ -20,4 +21,5 @@ module.exports = {
"^react-router$": "<rootDir>/../react-router/index.ts",
"^react-router-dom$": "<rootDir>/index.tsx",
},
reporters: ["default"],
};
2 changes: 2 additions & 0 deletions packages/react-router-native/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/** @type {import('jest').Config} */
module.exports = {
preset: "react-native",
testMatch: ["**/__tests__/*-test.[jt]s?(x)"],
Expand All @@ -23,4 +24,5 @@ module.exports = {
"^react-router$": "<rootDir>/../react-router/index.ts",
"^react-router-native$": "<rootDir>/index.tsx",
},
reporters: ["default"],
};
2 changes: 2 additions & 0 deletions packages/router/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/** @type {import('jest').Config} */
module.exports = {
testEnvironment: "jsdom",
testMatch: ["**/__tests__/*-test.(js|ts)"],
Expand All @@ -15,4 +16,5 @@ module.exports = {
"@web3-storage/multipart-parser"
),
},
reporters: ["default"],
};

0 comments on commit 4c789a9

Please sign in to comment.