Show the unsupported message for QTI items with multiple or unrecognized interactions #8035
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Javascript Tests | |
| on: | |
| push: | |
| branches: | |
| - unstable | |
| - hotfixes | |
| - master | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| pre_job: | |
| name: Path match check | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| # Map a step output to a job output | |
| outputs: | |
| frontend: ${{ steps.filter.outputs.frontend }} | |
| steps: | |
| # paths-filter needs a checkout to diff push events | |
| - uses: actions/checkout@v7 | |
| - id: filter | |
| uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3 | |
| with: | |
| filters: | | |
| frontend: | |
| - '**.vue' | |
| - '**.js' | |
| - 'pnpm-lock.yaml' | |
| test: | |
| name: Frontend tests | |
| needs: pre_job | |
| if: ${{ needs.pre_job.outputs.frontend == 'true' }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Use pnpm | |
| uses: pnpm/action-setup@v6.0.10 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: '20.x' | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: | | |
| pnpm install --frozen-lockfile | |
| pnpm rebuild node-sass | |
| - name: Run tests | |
| run: pnpm run test |