mirror of
https://github.com/jcreek/AutomatedAssessmentFeedbackAgent.git
synced 2026-07-12 18:43:49 +00:00
26 lines
551 B
YAML
26 lines
551 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
test-and-deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Use Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '22'
|
|
- name: Install pnpm
|
|
run: npm install -g pnpm
|
|
- name: Install dependencies
|
|
run: pnpm i
|
|
- name: Install Playwright browsers
|
|
run: pnpm exec playwright install
|
|
- name: Run Playwright/BDD tests
|
|
run: npm run bdd:full
|