Skip to content

Commit

Permalink
Use Codecov token and update other dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeboone02 committed Jul 6, 2024
1 parent 03e3c2c commit a67658c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: Continuous Integration
on: [push]
on: [push, pull_request, workflow_dispatch]

jobs:
build:
name: Build and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- run: bun install --frozen-lockfile
- run: bun run build
- run: bun run test
# TODO: Upload to Codecov once Bun outputs lcov (https://github.com/oven-sh/bun/issues/4015)
# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v1
- uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
Binary file modified bun.lockb
Binary file not shown.
1 change: 1 addition & 0 deletions bunfig.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[test]
coverage = true
coverageThreshold = 1
coverageReporter = ["lcov", "text"]
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,16 @@
"pretty-print": "prettier --write '*.{html,ts,json}' 'src/*.*'"
},
"devDependencies": {
"@types/bun": "^1.1.3",
"@types/node": "^20.14.2",
"@types/web": "^0.0.148",
"np": "^10.0.5",
"@types/bun": "^1.1.6",
"@types/node": "^20.14.10",
"@types/web": "^0.0.151",
"np": "^10.0.6",
"open": "^10.1.0",
"prettier": "3.3.2",
"tsup": "^8.1.0",
"typedoc": "^0.25.13",
"typedoc": "^0.26.3",
"typedoc-plugin-katex": "^0.1.2",
"typescript": "^5.4.5"
"typescript": "^5.5.3"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
Expand Down

0 comments on commit a67658c

Please sign in to comment.