Skip to content

chore: updated config #11

chore: updated config

chore: updated config #11

Workflow file for this run

name: Test Crawlab
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
services:
crawlab:
image: crawlabteam/crawlab:develop
ports:
- 8080:8080
env:
CRAWLAB_NODE_MASTER: "true"
CRAWLAB_MONGO_HOST: mongo
CRAWLAB_MONGO_PORT: 27017
mongo:
image: mongo:latest
ports:
- 27017:27017
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install pnpm
run: npm i -g pnpm@9
- name: Install dependencies
run: pnpm install
- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps
- name: Run Playwright tests
run: pnpm playwright test
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30