From 5f91abf194c6e4a8fcae6a708520831baf5fa091 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20R=C3=A5dberg?= Date: Mon, 18 Sep 2023 09:29:38 +0200 Subject: [PATCH] use bun again --- .github/workflows/firebase-hosting-mege.yml | 3 ++- .github/workflows/lint_and_build.yml | 9 ++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/firebase-hosting-mege.yml b/.github/workflows/firebase-hosting-mege.yml index 4da32b1..0518376 100644 --- a/.github/workflows/firebase-hosting-mege.yml +++ b/.github/workflows/firebase-hosting-mege.yml @@ -10,7 +10,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - run: yarn && yarn build && yarn lint + - uses: oven-sh/setup-bun@v1 + - run: bun install && bun run build && bun run lint - uses: FirebaseExtended/action-hosting-deploy@v0 with: repoToken: '${{ secrets.GITHUB_TOKEN }}' diff --git a/.github/workflows/lint_and_build.yml b/.github/workflows/lint_and_build.yml index 8356022..3e0b791 100644 --- a/.github/workflows/lint_and_build.yml +++ b/.github/workflows/lint_and_build.yml @@ -22,11 +22,14 @@ jobs: with: node-version: 18 + - name: Set up bun + uses: oven-sh/setup-bun@v1 + - name: Install dependencies - run: yarn install + run: bun install - name: Run lint - run: yarn lint + run: bun run lint - name: Build project - run: yarn build + run: bun run build