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