Adds link to imprint #66
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: Frontend Build and Codestyle Check | |
on: | |
push: | |
paths: | |
- frontend/** | |
branches-ignore: | |
- master | |
pull_request: | |
paths: | |
- frontend/** | |
jobs: | |
build-and-package: | |
runs-on: ubuntu-latest | |
env: | |
frontend-dir: frontend | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
cache-dependency-path: 'frontend/yarn.lock' | |
- name: Install Validation Dependencies | |
working-directory: tools/validation | |
run: npm install | |
- name: Create PQDB SQLite-File | |
run: node tools/validation/validate.js frontend/public/pqdb.sqlite frontend/src/tables.svg | |
- name: Install dependencies | |
run: yarn install | |
working-directory: ${{ env.frontend-dir }} | |
- name: Build | |
run: yarn build | |
working-directory: ${{ env.frontend-dir }} | |
- name: Check codestyle | |
run: yarn run eslint --ext .js,.jsx ./src | |
working-directory: ${{ env.frontend-dir }} |