Skip to content

Commit

Permalink
chore: remove usage of restore_key in github actions workflow (#506)
Browse files Browse the repository at this point in the history
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
  • Loading branch information
silviot and emilyrohrbough committed Apr 10, 2023
1 parent 6536cec commit d492ccd
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/single.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,24 +25,20 @@ jobs:
print-env GITHUB
# Restore the previous NPM modules and Cypress binary archives.
# Any updated archives will be saved automatically after the entire
# workflow successfully finishes.
# In case there's no previous cache the packages will be downloaded
# and saved automatically after the entire workflow successfully finishes.
# See https://github.com/actions/cache
- name: Cache node modules
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-

- name: Cache Cypress binary
uses: actions/cache@v3
with:
path: ~/.cache/Cypress
key: cypress-${{ runner.os }}-cypress-${{ hashFiles('**/package.json') }}
restore-keys: |
cypress-${{ runner.os }}-cypress-

- name: install dependencies and verify Cypress
env:
Expand Down

0 comments on commit d492ccd

Please sign in to comment.