LibreChat/.github/workflows
Danny Avila d00c7354cd
fix: Corrected Registration Validation, Case-Insensitive Variable Handling, Playwright workflow (#805)
* feat(auth.js): add validation for registration endpoint using validateRegistration middleware
feat(validateRegistration.js): add middleware to validate registration based on ALLOW_REGISTRATION environment variable

* fix(config.js): fix registrationEnabled and socialLoginEnabled variables to handle case-insensitive environment variable values

* refactor(validateRegistration.js): remove console.log statement

* chore(playwright.yml): skip browser download during yarn install
chore(playwright.yml): place Playwright binaries to node_modules/@playwright/test
chore(playwright.yml): install Playwright dependencies using npx playwright install-deps
chore(playwright.yml): install Playwright chromium browser using npx playwright install chromium
chore(playwright.yml): install @playwright/test@latest using npm install -D @playwright/test@latest
chore(playwright.yml): run Playwright tests using npm run e2e:ci

* chore(playwright.yml): change npm install order and update comment

The order of the npm install commands in the "Install Playwright Browsers" step has been changed to first install @playwright/test@latest and then install chromium. Additionally, the comment explaining the PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD variable has been updated to mention npm install instead of yarn install.

* chore(playwright.yml): remove commented out code for caching and add separate steps for installing Playwright dependencies and browsers
2023-08-14 09:45:44 -04:00
..
backend-review.yml ci: add e2e workflow, optimize client code for testing (#771) 2023-08-08 11:17:15 -04:00
build.yml Update build.yml 2023-07-22 13:35:00 -04:00
container.yml Create container.yml: build and push docker image upon tagging (#536) 2023-06-18 20:19:08 -04:00
data-provider.yml feat(data-provider): add GitHub Actions workflow for building and publishing package 2023-07-30 11:50:24 -04:00
deploy.yml Create deploy.yml 2023-07-22 13:49:49 -04:00
dev-images.yml feat: build dev images on changes to api/client or manually (#720) 2023-07-27 19:00:21 -04:00
frontend-review.yml ci: add e2e workflow, optimize client code for testing (#771) 2023-08-08 11:17:15 -04:00
mkdocs.yaml MkDocs for Material (#545) 2023-06-24 23:00:10 -04:00
playwright.yml fix: Corrected Registration Validation, Case-Insensitive Variable Handling, Playwright workflow (#805) 2023-08-14 09:45:44 -04:00