From fda39190a1722593a3daa40d40807c663f4d639f Mon Sep 17 00:00:00 2001 From: Joel Drapper Date: Sat, 6 Apr 2024 21:15:33 +0100 Subject: [PATCH] Use bun on CI --- .github/workflows/tests.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index daa8c21..735450d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,20 +10,17 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version-file: ".node-version" - cache: "npm" + - name: Setup Bun + uses: oven-sh/setup-bun@v1 - name: Install dependencies - run: npm install + run: bun install - name: Build - run: npm run build + run: bun run build - name: Lint - run: npm run lint + run: bun run lint - name: Run Tests - run: npm run test || npm run test + run: bun run test || bun run test