From 926754621d6a20f301820147a8d126328d6cab92 Mon Sep 17 00:00:00 2001 From: "M.P. Korstanje" Date: Sun, 12 Jan 2025 18:50:06 +0100 Subject: [PATCH] Revert "Remove redundant devkit copy step for ruby test" (#119) Revert "Remove redundant devkit copy step for ruby test (#114)" This reverts commit 4b54a551d7716bfdd550cf89d091fca5fcaaa591. --- .github/workflows/test-ruby.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-ruby.yml b/.github/workflows/test-ruby.yml index 090f067..5580ee9 100644 --- a/.github/workflows/test-ruby.yml +++ b/.github/workflows/test-ruby.yml @@ -12,8 +12,6 @@ on: jobs: test-ruby: - defaults: - working-directory: ruby strategy: fail-fast: false matrix: @@ -27,5 +25,14 @@ jobs: ruby-version: ${{ matrix.ruby }} bundler-cache: true rubygems: latest + working-directory: ruby + - uses: actions/setup-node@v4 + with: + cache: 'npm' + cache-dependency-path: devkit/package-lock.json + - name: Copy the samples to ruby/features + run: npm ci && npm run copy-to:ruby + working-directory: devkit - name: Run tests run: bundle exec rspec + working-directory: ruby