Add pull requests component #154
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: Webapp QA | |
on: | |
pull_request: | |
paths: | |
- "webapp/**" | |
- "!webapp/src/app/core/modules/openapi/**" | |
push: | |
paths: | |
- "webapp/**" | |
- "!webapp/src/app/core/modules/openapi/**" | |
branches: [develop] | |
jobs: | |
quality: | |
name: Code Quality Checks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "22" | |
- name: Install dependencies | |
working-directory: ./webapp | |
run: npm ci | |
- name: Run ESLint | |
working-directory: ./webapp | |
run: npm run lint | |
- name: Run Prettier | |
working-directory: ./webapp | |
run: npm run prettier:check |