diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4142231..f6aa63e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -89,7 +89,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 @@ -103,6 +113,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 . diff --git a/tsconfig.json b/tsconfig.json index 4395c6d..88686c9 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,7 +13,7 @@ "forceConsistentCasingInFileNames": true, "experimentalDecorators": true, "rootDirs": ["./src", "./test"], - "types": ["vitest/globals"], + "types": ["vitest/globals"], "baseUrl": ".", "paths": { "redux-thunk": ["src/index.ts"], // @remap-prod-remove-line