From 8374de26af257825a40dd20287afaf2ae0514b0e Mon Sep 17 00:00:00 2001 From: Muhammad Yusuf Date: Mon, 22 Jul 2024 11:29:51 +0700 Subject: [PATCH] ci: fix setup bun (#57) --- .github/workflows/pr.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index dce341a..122738f 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -22,10 +22,8 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 - - name: Setup Node.js 14.x + - name: Setup Bun uses: oven-sh/setup-bun@v2 - with: - bun-version: "1.x" - name: Install locked dependencies run: bun install --frozen-lockfile @@ -35,12 +33,12 @@ jobs: env: CI: true - - name: Lint files + - name: Format files run: bun run format env: CI: true - - name: Lint files - run: bun run type-check + - name: Type check files + run: bun run typecheck env: CI: true