Fixed annulled state for Multiple Choice Questions #121
Workflow file for this run
This file contains 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: Check Linters and Prettier Formatter | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
branches: | |
- "main" | |
concurrency: | |
# Cancel previous jobs | |
group: prettier-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
run-linters: | |
runs-on: ubuntu-latest | |
steps: | |
- name: check out repository | |
uses: actions/checkout@v4 | |
- name: set up node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: front_end/.nvmrc | |
cache: npm | |
cache-dependency-path: front_end/package-lock.json | |
- name: install deps | |
run: npm ci | |
working-directory: front_end | |
- name: prettier version | |
run: npx prettier -v | |
working-directory: front_end | |
- name: check formatting | |
run: npm run format:check | |
working-directory: front_end | |
- name: check linters | |
run: npm run lint | |
working-directory: front_end |