From bda7f88a9998f158ea4af421be5348e95c15700a Mon Sep 17 00:00:00 2001 From: Yatish Mehta Date: Tue, 23 Apr 2024 23:55:19 -0700 Subject: [PATCH] Replaced bun --- .github/workflows/ci.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b81f6cb..0163655 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,9 +27,17 @@ jobs: - uses: ruby/setup-ruby@v1 with: bundler-cache: true - - uses: oven-sh/setup-bun@v1 + - name: Install Yarn conditionally + run: | + if ! command -v yarn &> /dev/null; then + corepack enable && npm install yarn + fi + - name: Setup Node.js + uses: actions/setup-node@v2 with: - bun-version: latest + node-version: "18.12.1" + cache-dependency-path: yarn.lock + cache: "yarn" - run: bundle exec rake db:migrate - run: bundle exec rake test:all rubocop: