Add e2e tests for articles and fix homepage test #55
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 the pull request | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened, edited] | |
jobs: | |
check-pull-request: | |
name: Check code styling and run tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v4 | |
- name: Use the correct Node.js version | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "18.17.1" | |
- name: Install dependencies | |
run: npm ci | |
- name: Run ESLint | |
run: npm run lint | |
- name: Run Prettier | |
run: npm run prettier | |
- name: Run Jest tests | |
run: npm run test:jest |