Skip to content

Commit 3717837

Browse files
committed
Setup python cache
1 parent c1550a8 commit 3717837

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

.github/workflows/docker-images.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ jobs:
4141
- name: Set up Docker Buildx
4242
uses: docker/setup-buildx-action@v2
4343

44-
- name: Setup Node
45-
uses: actions/setup-node@v3
44+
# Setup python cache
45+
- name: Setup Python pip
46+
uses: actions/setup-python@v4
4647
with:
47-
node-version: 20
48-
cache: "npm"
49-
cache-dependency-path: "llmstack/client/package-lock.json"
48+
python-version: "3.10"
49+
cache: "pip"
5050

5151
# Login against a Docker registry except on PR
5252
# https://github.com/docker/login-action
@@ -72,13 +72,6 @@ jobs:
7272
with:
7373
images: ${{ env.REGISTRY }}/${{ env.ORG }}/${{ env.IMAGE_NAME_APP }}
7474

75-
# Build client
76-
- name: Build client
77-
run: |
78-
cd llmstack/client
79-
npm install
80-
npm run build
81-
8275
# Build and push Docker image with Buildx (don't push on PR)
8376
# https://github.com/docker/build-push-action
8477
- name: Build and push LLMStack API Docker image

0 commit comments

Comments
 (0)