Skip to content

Commit

Permalink
ci: removed deprecated GitHub action command
Browse files Browse the repository at this point in the history
  • Loading branch information
enell committed Jan 23, 2023
1 parent a801dc6 commit 00a3e87
Showing 1 changed file with 3 additions and 19 deletions.
22 changes: 3 additions & 19 deletions .github/actions/yarn_install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 00a3e87

Please sign in to comment.