Skip to content

Instantly share code, notes, and snippets.

@seye2
Created December 30, 2019 16:34
Show Gist options
  • Save seye2/40e6328fc87b066b4aa2ffe13a4b3afd to your computer and use it in GitHub Desktop.
Save seye2/40e6328fc87b066b4aa2ffe13a4b3afd to your computer and use it in GitHub Desktop.
- name: Get yarn cache
id: yarn-cache
run: |
echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v1
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment