-
-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does your README.md's cache setup equivalent to actions/setup-node@v3 cache setup #51
Comments
same, none seems to works |
I also noticed that - name: Set up node
uses: actions/setup-node@v3
with:
cache: pnpm Looks like this was reported: actions/setup-node#479 |
The sample from the readme works, there is just a small issue on windows, see #61 or #62 : - name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
|
what nodejs version ? |
@riderx Using 16 too, you can check my full sample that just worked here: https://github.com/mtb-tools/vscode-mono-workspace/actions/runs/3272609632/workflow |
I was wondering the same thing, we have a setup like:
And I am unsure if caching the installation works properly or not between runs. |
I see two cache setups (one here and the other on setup-node) and I'm unsure which one is the latest or if either made a difference.
The text was updated successfully, but these errors were encountered: