Skip to content

Cache CLI in GitHub Actions? #2600

Closed Answered by jonny-harte
jonny-harte asked this question in Q&A
Discussion options

You must be logged in to vote

these are the paths I needed to add

echo "NPM_PREFIX=$(npm config get prefix)" >> $GITHUB_ENV

/home/runner/.local/share/sf
${{ env.NPM_PREFIX }}/bin
${{ env.NPM_PREFIX }}/lib/node_modules/@salesforce/cli

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jonny-harte
Comment options

@jonny-harte
Comment options

Answer selected by jonny-harte
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants