Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/reduxjs/redux-thunk into …
Browse files Browse the repository at this point in the history
…migrate-typetests-to-vitest
  • Loading branch information
aryaemami59 committed Mar 11, 2024
2 parents 057004c + efd278b commit 487bca3
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 3 deletions.
18 changes: 17 additions & 1 deletion .github/workflows/test.yml
Expand Up @@ -122,7 +122,17 @@ jobs:
fail-fast: false
matrix:
node: ['20.x']
example: ['cra4', 'cra5', 'next', 'vite', 'node-standard', 'node-esm']
example:
[
'cra4',
'cra5',
'next',
'vite',
'node-standard',
'node-esm',
'react-native',
'expo'
]
steps:
- name: Checkout repo
uses: actions/checkout@v4
Expand All @@ -136,6 +146,12 @@ jobs:
- name: Clone RTK repo
run: git clone https://github.com/reduxjs/redux-toolkit.git ./redux-toolkit

- name: Cache example deps
uses: actions/cache@v4
with:
path: ./redux-toolkit/examples/publish-ci/${{ matrix.example }}/node_modules
key: test-published-artifact-${{ matrix.example }}-node_modules

- name: Check folder contents
run: ls -l .

Expand Down
14 changes: 12 additions & 2 deletions tsconfig.json
Expand Up @@ -5,8 +5,18 @@
"extends": "./tsconfig.test.json",
"compilerOptions": {
"allowJs": true,
"checkJs": true,
"rootDir": "."
"jsx": "react",
"declaration": true,
"emitDeclarationOnly": true,
"forceConsistentCasingInFileNames": true,
"experimentalDecorators": true,
"rootDirs": ["./src", "./test"],
"types": ["vitest/globals"],
"baseUrl": ".",
"paths": {
"redux-thunk": ["src/index.ts"], // @remap-prod-remove-line
"@internal/*": ["src/*"]
}
},
"include": ["."]
}

0 comments on commit 487bca3

Please sign in to comment.