Skip to content

Commit

Permalink
Separate caching steps
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhorky authored Aug 13, 2024
1 parent 3acf1e6 commit 51489a1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ To resolve this, switch off `actions/setup-node` and instead use the preinstalle
rm /usr/local/bin/node
ln -s $(which node) /usr/local/bin/node
shell: bash -l {0}
```

If you also need caching for pnpm (replacement for the `cache` setting of `actions/setup-node`), follow with this config of [`actions/cache`](https://github.com/actions/cache):

```yaml
- name: Get pnpm store directory
shell: bash
run: |
Expand Down

0 comments on commit 51489a1

Please sign in to comment.