mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
Updating caching
This commit is contained in:
parent
b347ed6327
commit
2565b744ed
1 changed files with 16 additions and 4 deletions
20
.github/workflows/code-qa.yml
vendored
20
.github/workflows/code-qa.yml
vendored
|
|
@ -14,11 +14,23 @@ jobs:
|
|||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: cached install
|
||||
uses: RooVetGit/Roo-GHA/.github/actions/setup-node-cache-and-install@main
|
||||
- name: Setup Node.js environment
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "18"
|
||||
clean-install: false
|
||||
node-version: '18'
|
||||
|
||||
- name: Cache node modules
|
||||
id: cache-node-modules
|
||||
uses: actions/cache@v4
|
||||
env:
|
||||
cache-name: cache-node-modules
|
||||
with:
|
||||
path: node_modules
|
||||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-build-${{ env.cache-name }}-
|
||||
${{ runner.os }}-build-
|
||||
${{ runner.os }}-
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm run install:all
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue