Skip to content

ci: updated workflow #3

ci: updated workflow

ci: updated workflow #3

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
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: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30