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

chore(playwright.yml): add condition to run the job only for pull requests from danny-avila/LibreChat repository (#773)

Danny Avila759e585c2997
diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml
index a822d63070..c70aee3eb8 100644
--- a/.github/workflows/playwright.yml
+++ b/.github/workflows/playwright.yml
@@ -13,6 +13,7 @@ on:
jobs:
tests_e2e:
name: Run Playwright tests
+ if: github.event.pull_request.head.repo.full_name == danny-avila/LibreChat
timeout-minutes: 60
runs-on: ubuntu-latest
env:
@@ -37,13 +38,13 @@ jobs:
node-version: 18
cache: 'npm'
- - name: Cache Node.js modules
- uses: actions/cache@v3
- with:
- path: ~/.npm
- key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
- restore-keys: |
- ${{ runner.os }}-node-
+ # - name: Cache Node.js modules
+ # uses: actions/cache@v3
+ # with:
+ # path: ~/.npm
+ # key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
+ # restore-keys: |
+ # ${{ runner.os }}-node-
- name: Install global dependencies
run: npm ci
@@ -57,13 +58,13 @@ jobs:
- name: Build Client
run: npm run frontend
- - name: Cache Playwright installations
- uses: actions/cache@v3
- with:
- path: ~/.cache/ms-playwright/
- key: ${{ runner.os }}-pw-${{ hashFiles('**/package-lock.json') }}
- restore-keys: |
- ${{ runner.os }}-pw-
+ # - name: Cache Playwright installations
+ # uses: actions/cache@v3
+ # with:
+ # path: ~/.cache/ms-playwright/
+ # key: ${{ runner.os }}-pw-${{ hashFiles('**/package-lock.json') }}
+ # restore-keys: |
+ # ${{ runner.os }}-pw-
- name: Install Playwright Browsers
run: npx playwright install --with-deps chromium && npm install -D @playwright/test@latest
@@ -77,5 +78,4 @@ jobs:
with:
name: playwright-report
path: e2e/playwright-report/
- retention-days: 30
-
+ retention-days: 30
\ No newline at end of file