mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
Minor workflows updates
This commit is contained in:
parent
4ad27f26cf
commit
eb710d7e6a
1 changed files with 16 additions and 4 deletions
20
.github/workflows/code-qa.yml
vendored
20
.github/workflows/code-qa.yml
vendored
|
|
@ -11,7 +11,7 @@ env:
|
|||
NODE_VERSION: '18'
|
||||
|
||||
jobs:
|
||||
code-qa:
|
||||
compile:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
|
|
@ -47,11 +47,23 @@ jobs:
|
|||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Node.js
|
||||
- name: Setup Node.js environment
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18'
|
||||
cache: 'npm'
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
|
||||
- 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 }}-node-${{ env.NODE_VERSION }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-node-${{ env.NODE_VERSION }}-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