Skip to content

Commit 2565b74

Browse files
committed
Updating caching
1 parent b347ed6 commit 2565b74

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

.github/workflows/code-qa.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,23 @@ jobs:
1414
- name: Checkout code
1515
uses: actions/checkout@v4
1616

17-
- name: cached install
18-
uses: RooVetGit/Roo-GHA/.github/actions/setup-node-cache-and-install@main
17+
- name: Setup Node.js environment
18+
uses: actions/setup-node@v4
1919
with:
20-
node-version: "18"
21-
clean-install: false
20+
node-version: '18'
21+
22+
- name: Cache node modules
23+
id: cache-node-modules
24+
uses: actions/cache@v4
25+
env:
26+
cache-name: cache-node-modules
27+
with:
28+
path: node_modules
29+
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
30+
restore-keys: |
31+
${{ runner.os }}-build-${{ env.cache-name }}-
32+
${{ runner.os }}-build-
33+
${{ runner.os }}-
2234
2335
- name: Install dependencies
2436
run: npm run install:all

0 commit comments

Comments
 (0)