mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-17 18:12:43 +00:00
remove npm ci from pre-commit workflow
This commit is contained in:
parent
587a4e29d3
commit
d5cda3fb19
1 changed files with 13 additions and 9 deletions
22
.github/workflows/pre-commit.yml
vendored
22
.github/workflows/pre-commit.yml
vendored
|
|
@ -36,16 +36,20 @@ jobs:
|
||||||
**/requirements*.txt
|
**/requirements*.txt
|
||||||
.pre-commit-config.yaml
|
.pre-commit-config.yaml
|
||||||
|
|
||||||
- name: Set up Node.js
|
# npm ci may fail -
|
||||||
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
|
# npm error `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.
|
||||||
with:
|
# npm error Invalid: lock file's llama-stack-client@0.2.17 does not satisfy llama-stack-client@0.2.18
|
||||||
node-version: '20'
|
|
||||||
cache: 'npm'
|
|
||||||
cache-dependency-path: 'llama_stack/ui/'
|
|
||||||
|
|
||||||
- name: Install npm dependencies
|
# - name: Set up Node.js
|
||||||
run: npm ci
|
# uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
|
||||||
working-directory: llama_stack/ui
|
# with:
|
||||||
|
# node-version: '20'
|
||||||
|
# cache: 'npm'
|
||||||
|
# cache-dependency-path: 'llama_stack/ui/'
|
||||||
|
|
||||||
|
# - name: Install npm dependencies
|
||||||
|
# run: npm ci
|
||||||
|
# working-directory: llama_stack/ui
|
||||||
|
|
||||||
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
|
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue