Comments (1)
Cache is based on hash of lock file for pnpm (with fallback) so this should be sufficient.
Cache for NX is:
# The key is unique per execution to ensure we always cache the output.
# The restore keys then use the latest cache from: previous workflow run > previous workflow run on the same branch > most recent run for repo.
with:
path: node_modules/.cache/nx
key: ${{ runner.os }}-nx-store-${{ github.ref_name }}-${{ github.run_id }}-${{ steps.time.outputs.time }}
restore-keys: |
${{ runner.os }}-nx-store-${{ github.ref_name }}-${{ github.run_id }}-
${{ runner.os }}-nx-store-${{ github.ref_name }}-
${{ runner.os }}-nx-store-
Cache doesn't work across branches anyway so this is likely the best we can do at the current time.
from repo-sandbox.
Related Issues (20)
- Cleanup environments on PR close / merge
- Simultenous updates; how does GH actions handle 2 commits in quick succession? HOT 1
- PR concurrency not working
- Avoid re-deploy if nothing changed HOT 3
- Handle shared PR resources
- Get CDK output to PR comments HOT 3
- Handle deployment of multiple apps HOT 1
- Handle dynamic configuration (CDK => REACT) HOT 1
- ELIFECYCLE Command failed with exit code 143. HOT 2
- Fix pr-close SHA calculation
- Configuring different environments HOT 4
- Does updating the lock file cause a re-build/re-deploy of everything? HOT 4
- Label
- Delete cloudfront for PRs
- BucketDeployment is painfully slow
- Handle PR changes that previously resulted in a deployment HOT 1
- Per-pull request environments
- Prettify CDK/test output on PRs HOT 2
- Deploy based on PR label
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from repo-sandbox.