add whitelist to gitignore #57
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
on: | |
push: | |
paths: | |
- '.github/workflows/frontend.yaml' | |
- 'frontend/src/**' | |
- 'frontend/public/**' | |
- 'frontend/package.json' | |
- 'frontend/vue.config.js' | |
- 'frontend/Dockerfile*' | |
- 'frontend/.eslintrc.js' | |
- 'frontend/tsconfig.json' | |
- 'frontend/*.sh' | |
defaults: | |
run: | |
working-directory: frontend | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 'lts/*' | |
- name: Install modules | |
run: npm ci | |
- name: Save Code Linting Report JSON | |
run: npx eslint --output-file ../eslint_report.json --format json . | |
# Continue to the next step even if this fails | |
continue-on-error: true | |
- name: Typecheck | |
run: npx vue-tsc --noEmit | |
# Continue to the next step even if this fails | |
continue-on-error: true | |
- name: Annotate Code Linting Results | |
uses: ataylorme/eslint-annotate-action@v2 | |
with: | |
markdown-report-on-step-summary: true |