From 9dbb204cd7a6b2945a14774e5b3342ad130c7a62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnaud=20Barr=C3=A9?= Date: Sun, 5 Nov 2023 21:03:10 +0100 Subject: [PATCH] Test --- .github/workflows/ci.yml | 13 +++++++++++++ src/utils/intervalCheck.ts | 1 + 2 files changed, 14 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..f61b78a --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,13 @@ +name: CI +on: + pull_request: + branches: + - "*" +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: oven-sh/setup-bun@v1 + - run: bun i + - run: bun ci diff --git a/src/utils/intervalCheck.ts b/src/utils/intervalCheck.ts index 30549e7..faa91ce 100644 --- a/src/utils/intervalCheck.ts +++ b/src/utils/intervalCheck.ts @@ -17,6 +17,7 @@ export const intervalCheck = (ms: number, getValue: () => T) => { }), taskRunning: () => { if (utilsResolved) throw new Error("Utils are already resolved"); + console.log(performance.now()); scanHappenedOnce = true; scanHappened = true; },