Skip to content

Commit 82cfc2a

Browse files
committed
Switch to ATTW CLI
1 parent def276b commit 82cfc2a

File tree

7 files changed

+22
-2417
lines changed

7 files changed

+22
-2417
lines changed

.github/workflows/tests.yml

Lines changed: 22 additions & 10 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 }}
@@ -203,3 +194,24 @@ jobs:
203194
# Ignore "FalseCJS" errors in the `attw` job
204195
run: yarn test -n FalseCJS
205196
if: matrix.example == 'are-the-types-wrong'
197+
198+
are-the-types-wrong:
199+
name: Check package config with are-the-types-wrong
200+
201+
needs: [build]
202+
runs-on: ubuntu-latest
203+
strategy:
204+
fail-fast: false
205+
matrix:
206+
node: ['16.x']
207+
steps:
208+
- name: Checkout repo
209+
uses: actions/checkout@v3
210+
211+
- uses: actions/download-artifact@v3
212+
with:
213+
name: package
214+
path: .
215+
216+
- name: Run are-the-types-wrong
217+
run: npx @arethetypeswrong/cli ./package.tgz --format table

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.

examples/publish-ci/are-the-types-wrong/main.tsx

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

0 commit comments

Comments
 (0)