From 00a3e87aa1cf8cbd576a3d8769abcd470b016270 Mon Sep 17 00:00:00 2001 From: Johan Enell Date: Mon, 23 Jan 2023 09:11:08 +0100 Subject: [PATCH] ci: removed deprecated GitHub action command --- .github/actions/yarn_install/action.yml | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/.github/actions/yarn_install/action.yml b/.github/actions/yarn_install/action.yml index 4770ae08..2ea0db9a 100644 --- a/.github/actions/yarn_install/action.yml +++ b/.github/actions/yarn_install/action.yml @@ -6,22 +6,6 @@ runs: - uses: actions/setup-node@v3 with: node-version: 'lts/*' - - name: Get yarn cache directory path - id: yarn-cache-dir-path - shell: bash - run: echo "::set-output name=dir::$(yarn cache dir)" - - uses: actions/cache@v3 - name: Yarn Cache - id: yarn-cache - with: - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn- - - name: Yarn Install - uses: nick-invision/retry@v2 - with: - timeout_minutes: 3 - retry_wait_seconds: 30 - max_attempts: 3 - command: yarn ci:install --prefer-offline + cache: 'yarn' + - name: Install project dependencies + run: yarn --prefer-offline