Compare commits
2 Commits
eb8802eea2
...
10c6fa33c9
| Author | SHA1 | Date | |
|---|---|---|---|
|
10c6fa33c9
|
|||
|
f29cd0f633
|
@@ -408,7 +408,8 @@ jobs:
|
||||
docker run --rm dogar.darkhelm.org/darkhelm.org/plex-playlist/cicd:${GITHUB_SHA:-latest} bash -c "
|
||||
cd /workspace/frontend &&
|
||||
if [ -d 'tests/e2e' ] || grep -q 'playwright' package.json; then
|
||||
yarn test:e2e || echo 'E2E tests failed or not configured yet'
|
||||
echo 'Running E2E tests with Playwright...' &&
|
||||
yarn test:e2e
|
||||
else
|
||||
echo 'ℹ No E2E tests found'
|
||||
fi
|
||||
|
||||
@@ -177,6 +177,15 @@ RUN export NODE_OPTIONS="--max-old-space-size=1024 --max-semi-space-size=64" &&
|
||||
swapoff /tmp/swapfile 2>/dev/null || true && \
|
||||
rm -f /tmp/swapfile
|
||||
|
||||
# Install Playwright browsers for E2E testing
|
||||
RUN if grep -q '@playwright/test' package.json; then \
|
||||
echo "Installing Playwright browsers..." && \
|
||||
yarn playwright install --with-deps && \
|
||||
echo "Playwright browsers installed successfully"; \
|
||||
else \
|
||||
echo "Playwright not found in package.json, skipping browser installation"; \
|
||||
fi
|
||||
|
||||
# Verify all tools are working with the project
|
||||
RUN cd /workspace/backend && \
|
||||
echo "=== Backend Tools Verification ===" && \
|
||||
|
||||
@@ -196,6 +196,11 @@ npm run dev
|
||||
|
||||
## Documentation
|
||||
|
||||
### Development & Workflow
|
||||
- **[Development Environment Setup](docs/DEVELOPMENT.md)** - Comprehensive guide for setting up your development environment, git workflow, pre-commit hooks, manual tool usage, and CI/CD pipeline understanding
|
||||
|
||||
### Operations & Troubleshooting
|
||||
- **[Gitea Actions Troubleshooting](docs/GITEA_ACTIONS_TROUBLESHOOTING.md)** - Solutions for CI/CD pipeline issues, including the critical "jobs waiting forever" problem
|
||||
- **[Secure Docker CI/CD](docs/SECURE_DOCKER_CICD.md)** - Security considerations and setup for Docker-based CI/CD pipelines
|
||||
|
||||
See the `backend/` and `frontend/` folders for more details.
|
||||
|
||||
Reference in New Issue
Block a user