Skip to content

Commit 1ee08e0

Browse files
authored
Merge pull request #3672 from reduxjs/feature/3516-fix-dist-types
2 parents 32e9081 + 25b84d0 commit 1ee08e0

File tree

18 files changed

+126
-2473
lines changed

18 files changed

+126
-2473
lines changed

.github/workflows/tests.yml

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -149,16 +149,7 @@ jobs:
149149
fail-fast: false
150150
matrix:
151151
node: ['16.x']
152-
example:
153-
[
154-
'cra4',
155-
'cra5',
156-
'next',
157-
'vite',
158-
'node-standard',
159-
'node-esm',
160-
'are-the-types-wrong',
161-
]
152+
example: ['cra4', 'cra5', 'next', 'vite', 'node-standard', 'node-esm']
162153
defaults:
163154
run:
164155
working-directory: ./examples/publish-ci/${{ matrix.example }}
@@ -197,9 +188,27 @@ jobs:
197188

198189
- name: Run test step
199190
run: yarn test
200-
if: matrix.example != 'are-the-types-wrong'
201191

202-
- name: Run test step (attw)
203-
# Ignore "FalseCJS" errors in the `attw` job
204-
run: yarn test -n FalseCJS
205-
if: matrix.example == 'are-the-types-wrong'
192+
are-the-types-wrong:
193+
name: Check package config with are-the-types-wrong
194+
195+
needs: [build]
196+
runs-on: ubuntu-latest
197+
strategy:
198+
fail-fast: false
199+
matrix:
200+
node: ['16.x']
201+
steps:
202+
- name: Checkout repo
203+
uses: actions/checkout@v3
204+
205+
- uses: actions/download-artifact@v2
206+
with:
207+
name: package
208+
path: packages/toolkit
209+
210+
- name: show folder
211+
run: ls -l .
212+
213+
- name: Run are-the-types-wrong
214+
run: npx @arethetypeswrong/cli ./package.tgz --format table --ignore-rules false-cjs

examples/publish-ci/are-the-types-wrong/.gitignore

Lines changed: 0 additions & 35 deletions
This file was deleted.

examples/publish-ci/are-the-types-wrong/.yarn/patches/@arethetypeswrong-core-npm-0.0.4-edb717a66b.patch

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)