Skip to content

Adds Problem XBlock extracting from edx-platform repo #1

Adds Problem XBlock extracting from edx-platform repo

Adds Problem XBlock extracting from edx-platform repo #1

name: JavaScript Tests
on:
push:
branches: [main]
pull_request:
branches:
- "**"
jobs:
javascript-tests:
name: Run JavaScript Tests
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20]
steps:
- name: Check out repository
uses: actions/checkout@v5
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v5
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Install Firefox (latest ESR)
run: sudo apt-get update && sudo apt-get install -y firefox xvfb
- name: Install npm dependencies
run: npm ci
- name: Run tests
run: npm run test:ci