Skip to content

Commit

Permalink
ci: cache metadata (#5524)
Browse files Browse the repository at this point in the history
**What's the problem this PR addresses?**

Now that yarnpkg/berry#5491 has landed we can
cache the metadata for our e2e tests to potentially speed them up.

**How did you fix it?**

Cache metadata.

**Checklist**
- [x] I have read the [Contributing
Guide](https://yarnpkg.com/advanced/contributing).
- [x] I have set the packages that need to be released for my changes to
be effective.
- [x] I will check that all automated PR checks pass before the PR gets
reviewed.
  • Loading branch information
merceyz committed Jun 24, 2023
1 parent 033e1df commit cf24f17
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/actions/prepare/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ runs:

- uses: actions/cache@v3
with:
path: ${{ steps.global-path.outputs.globalFolder }}/cache
path: |
${{ steps.global-path.outputs.globalFolder }}/cache
${{ steps.global-path.outputs.globalFolder }}/metadata
key: dependencies-${{ runner.os }}-${{ github.workflow }}-${{ github.sha }}
#endregion

0 comments on commit cf24f17

Please sign in to comment.