From 415484704ce686d02ee566ae4eca9206fe4431f7 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 10 Sep 2024 20:39:03 +0200 Subject: [PATCH] fix graph update --- .github/workflows/ci.yml | 2 +- update-graphs.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e001eda..866acb9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/update-graphs.ts b/update-graphs.ts index 1b88a3f..f688b5e 100644 --- a/update-graphs.ts +++ b/update-graphs.ts @@ -1,5 +1,5 @@ import data from "./bench.json" with { type: "json" } -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]) => ({