Add integration with AI quiz generator #139
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: 'Pull Request' | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
eslint: | |
runs-on: ubuntu-latest | |
name: ESLint | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- name: Install dependencies | |
uses: bahmutov/npm-install@v1 | |
- name: Run Lint | |
run: npm run lint:all | |
formatting: | |
runs-on: ubuntu-latest | |
name: Formatting | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- name: Install dependencies | |
uses: bahmutov/npm-install@v1 | |
- name: Run Lint | |
run: npm run lint:format | |
typescript: | |
runs-on: ubuntu-latest | |
name: TypeScript | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- name: Install dependencies | |
uses: bahmutov/npm-install@v1 | |
- name: Run Lint | |
run: npx concurrently "npm:lint:types:*" |