Skip to content

Commit

Permalink
fix graph update
Browse files Browse the repository at this point in the history
  • Loading branch information
beeequeue committed Sep 10, 2024
1 parent 3e2cf8c commit 4154847
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:

- run: pnpm bench --outputJson bench.json

- run: pnpm tsx update-graphs.ts
- run: node --experimental-strip-types update-graphs.ts
if: ${{ github.ref == 'refs/heads/main' }}

- uses: stefanzweifel/git-auto-commit-action@v5
Expand Down
2 changes: 1 addition & 1 deletion update-graphs.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import data from "./bench.json" with { type: "json" }

Check failure on line 1 in update-graphs.ts

View workflow job for this annotation

GitHub Actions / typecheck

Cannot find module './bench.json' or its corresponding type declarations.
import dedent from "ts-dedent"
import { dedent } from "ts-dedent"
import { readFileSync, writeFileSync } from "node:fs"

const toResult = (input: (typeof data)["files"][number]["groups"][number]) => ({
Expand Down

0 comments on commit 4154847

Please sign in to comment.