From f7e02eb3e474d3c664314f694abb00302b69f623 Mon Sep 17 00:00:00 2001 From: femiwiki-bot Date: Fri, 8 Apr 2022 14:59:24 +0000 Subject: [PATCH] Improve extension-test.yml (#44) * Use actions/setup-node's caching * Use node 16 * Use GuillaumeFalourd/create-other-repo-branch-action@v1.1 from https://github.com/femiwiki/.github/commit/450b7e7a1320f288df04083e955b3a33f97ec701 --- .github/workflows/extension-test.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/extension-test.yml b/.github/workflows/extension-test.yml index b4ebc83..21f04cd 100644 --- a/.github/workflows/extension-test.yml +++ b/.github/workflows/extension-test.yml @@ -158,15 +158,9 @@ jobs: composer install --prefer-dist --no-progress --no-interaction # $GITHUB_WORKSPACE - name: Setup Node.js environment uses: actions/setup-node@v2 - - name: Get yarn cache directory path - id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn cache dir)" - - uses: actions/cache@v2 - id: yarn-cache with: - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: ${{ runner.os }}-yarn- + node-version: '16' + cache: 'npm' - name: Run npm because Quibble is not compatible with yarn. run: | @@ -241,7 +235,7 @@ jobs: - name: Upload coverage to Codecov if: ${{ matrix.stage == 'coverage' }} - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v2 with: directory: /home/runner/cover