From 060f64ec0e7782c698bf848092bf37230e2ce33c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20R=C3=A5dberg?= Date: Sun, 17 Sep 2023 19:15:27 +0200 Subject: [PATCH] fix actions --- .github/workflows/firebase-hosting-mege.yml | 3 +-- .github/workflows/lint_and_build.yml | 9 +++------ package.json | 3 +-- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/firebase-hosting-mege.yml b/.github/workflows/firebase-hosting-mege.yml index 2eebc3b..22cecb8 100644 --- a/.github/workflows/firebase-hosting-mege.yml +++ b/.github/workflows/firebase-hosting-mege.yml @@ -10,8 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: oven-sh/setup-bun@v1 - - run: bun && bun build && bun lint + - run: yarn && yarn build && bun 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 1c8e735..8356022 100644 --- a/.github/workflows/lint_and_build.yml +++ b/.github/workflows/lint_and_build.yml @@ -22,14 +22,11 @@ jobs: with: node-version: 18 - - name: Set up bun - uses: oven-sh/setup-bun@v1 - - name: Install dependencies - run: bun install + run: yarn install - name: Run lint - run: bun lint + run: yarn lint - name: Build project - run: bun build + run: yarn build diff --git a/package.json b/package.json index 9b19e66..1df95e1 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,7 @@ "type": "commonjs", "engines": { "node": ">=18", - "yarn": "please use bun :)", - "npm": "please use bun :) " + "npm": "please use bun or yarn :) " }, "scripts": { "dev": "vite",