fix: remove Playwright browser installation steps and E2E test execution from workflow
Run Tests / test (push) Successful in 32s
Run Tests / test (push) Successful in 32s
This commit is contained in:
@@ -25,30 +25,8 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci --legacy-peer-deps
|
run: npm ci --legacy-peer-deps
|
||||||
|
|
||||||
- name: Install Playwright browsers
|
|
||||||
run: npx playwright install chromium --with-deps
|
|
||||||
timeout-minutes: 10
|
|
||||||
|
|
||||||
- name: Install Playwright browsers retry
|
|
||||||
if: failure()
|
|
||||||
run: npx playwright install chromium --with-deps
|
|
||||||
timeout-minutes: 10
|
|
||||||
|
|
||||||
- name: Run typecheck
|
- name: Run typecheck
|
||||||
run: npm run typecheck
|
run: npm run typecheck
|
||||||
|
|
||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
run: npm test
|
run: npm test
|
||||||
|
|
||||||
- name: Setup database
|
|
||||||
run: npx prisma migrate deploy --create-db || npx prisma db push
|
|
||||||
|
|
||||||
- name: Run E2E tests
|
|
||||||
run: npm run test:e2e
|
|
||||||
env:
|
|
||||||
ALPACA_API_KEY: ${{ secrets.ALPACA_API_KEY }}
|
|
||||||
ALPACA_SECRET_KEY: ${{ secrets.ALPACA_SECRET_KEY }}
|
|
||||||
ALPACA_BASE_URL: ${{ secrets.ALPACA_BASE_URL }}
|
|
||||||
ALPACA_DATA_URL: ${{ secrets.ALPACA_DATA_URL }}
|
|
||||||
DATABASE_URL: file:./prisma/dev.db
|
|
||||||
continue-on-error: true
|
|
||||||
Reference in New Issue
Block a user