Skip to content

Commit

Permalink
Switch to ATTW CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
markerikson committed Aug 24, 2023
1 parent def276b commit 82cfc2a
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 2,417 deletions.
32 changes: 22 additions & 10 deletions .github/workflows/tests.yml
Expand Up @@ -149,16 +149,7 @@ jobs:
fail-fast: false
matrix:
node: ['16.x']
example:
[
'cra4',
'cra5',
'next',
'vite',
'node-standard',
'node-esm',
'are-the-types-wrong',
]
example: ['cra4', 'cra5', 'next', 'vite', 'node-standard', 'node-esm']
defaults:
run:
working-directory: ./examples/publish-ci/${{ matrix.example }}
Expand Down Expand Up @@ -203,3 +194,24 @@ jobs:
# Ignore "FalseCJS" errors in the `attw` job
run: yarn test -n FalseCJS
if: matrix.example == 'are-the-types-wrong'

are-the-types-wrong:
name: Check package config with are-the-types-wrong

needs: [build]
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node: ['16.x']
steps:
- name: Checkout repo
uses: actions/checkout@v3

- uses: actions/download-artifact@v3
with:
name: package
path: .

- name: Run are-the-types-wrong
run: npx @arethetypeswrong/cli ./package.tgz --format table
35 changes: 0 additions & 35 deletions examples/publish-ci/are-the-types-wrong/.gitignore

This file was deleted.

This file was deleted.

306 changes: 0 additions & 306 deletions examples/publish-ci/are-the-types-wrong/main.tsx

This file was deleted.

0 comments on commit 82cfc2a

Please sign in to comment.