Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

build(playwright.yml): add caching for API and Client dependencies

Daniel Avila19183678a36c
diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml
index 14e500efd8..d4acafe368 100644
--- a/.github/workflows/playwright.yml
+++ b/.github/workflows/playwright.yml
@@ -14,11 +14,28 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 18
-
+ cache: 'npm'
+
+ - name: Cache API dependencies
+ uses: actions/cache@v2
+ with:
+ path: ./api/node_modules
+ key: api-${{ runner.os }}-node-${{ hashFiles('./api/package-lock.json') }}
+ restore-keys: |
+ api-${{ runner.os }}-node-
+
- name: Install API dependencies
working-directory: ./api
run: npm ci
+ - name: Cache Client dependencies
+ uses: actions/cache@v2
+ with:
+ path: ./client/node_modules
+ key: client-${{ runner.os }}-node-${{ hashFiles('./client/package-lock.json') }}
+ restore-keys: |
+ client-${{ runner.os }}-node-
+
- name: Install Client dependencies
working-directory: ./client
run: npm ci