File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -17,10 +17,16 @@ jobs:
1717 - name : Set up Node.js
1818 uses : actions/setup-node@v4
1919 with :
20- node-version : ' 18 '
20+ node-version : ' 20 '
2121 cache : ' npm'
22- # optional: if your lockfile lives in a subdirectory, change this to e.g. "subdir/package-lock.json"
23- cache-dependency-path : package-lock.json
22+ # If your repo is a monorepo or lockfiles live in subdirectories, list them here
23+ cache-dependency-path : |
24+ package-lock.json
25+ **/package-lock.json
26+ pnpm-lock.yaml
27+ **/pnpm-lock.yaml
28+ yarn.lock
29+ **/yarn.lock
2430
2531 - name : Set up Python
2632 uses : actions/setup-python@v4
5561 echo "Found npm-shrinkwrap.json -> running: npm ci"
5662 npm ci
5763 elif [ -f pnpm-lock.yaml ]; then
58- echo "Found pnpm-lock.yaml -> running: pnpm install --frozen-lockfile"
64+ echo "Found pnpm-lock.yaml -> installing pnpm and running: pnpm install --frozen-lockfile"
5965 npm i -g pnpm@latest || true
6066 pnpm install --frozen-lockfile || pnpm install
6167 elif [ -f yarn.lock ]; then
You can’t perform that action at this time.
0 commit comments