Skip to content

Commit

Permalink
Migrate to fetch and tsup (#20)
Browse files Browse the repository at this point in the history
* Use tsup instead of babel

* Add attw check to workflow

* Fix

* Fix attw check

* Fix attw again

* Fix

* Fix

* Use Fetch API instead of Axios

* Fix tests

* Fix wait-for-triggered-checks

* Fix
  • Loading branch information
itssimon committed Jul 6, 2024
1 parent e6688af commit 31258f5
Show file tree
Hide file tree
Showing 12 changed files with 1,057 additions and 2,650 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/summary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ jobs:
uses: poseidon/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
ignore: codecov/*
ignore_pattern: ^codecov/.+
15 changes: 15 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,21 @@ jobs:
python-version: "3.12"
- uses: pre-commit/[email protected]

check-attw:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: latest
cache: npm
- name: Install dependencies
run: npm ci
- name: Build package
run: npm run build
- name: Check if types are wrong with attw
run: npx -p @arethetypeswrong/cli attw --pack .

test-coverage:
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/coverage
/lib
/dist
/node_modules

# misc
Expand Down
Loading

0 comments on commit 31258f5

Please sign in to comment.