Skip to content

Commit

Permalink
ci: try to reorder plugins and env
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Oct 14, 2023
1 parent af93b60 commit 29fc5b0
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ jobs:
- 14
- 16
- 18
- 20

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0
Expand Down
22 changes: 22 additions & 0 deletions patches/eslint-config-kentcdodds+20.5.0.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
diff --git a/node_modules/eslint-config-kentcdodds/jest.js b/node_modules/eslint-config-kentcdodds/jest.js
index bffd2c1..fd5e6b5 100644
--- a/node_modules/eslint-config-kentcdodds/jest.js
+++ b/node_modules/eslint-config-kentcdodds/jest.js
@@ -29,14 +29,14 @@ try {
}

module.exports = {
- env: {
- 'jest/globals': true,
- },
plugins: [
'jest',
hasJestDom ? 'jest-dom' : null,
hasTestingLibrary ? 'testing-library' : null,
].filter(Boolean),
+ env: {
+ 'jest/globals': true,
+ },
rules: {},
overrides: [
{

0 comments on commit 29fc5b0

Please sign in to comment.