Skip to content

Commit

Permalink
Added build step to frontend CI (#146)
Browse files Browse the repository at this point in the history
* Added build step to frontend CI

* Fixed lint issue, now testing tsc

* Fixed tsc issues

* Added more logging
  • Loading branch information
jwngr committed Jun 17, 2024
1 parent d9b0707 commit 3d89db6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/frontend-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,7 @@ jobs:
working-directory: website
- name: Lint
run: npm run lint
working-directory: website
- name: Build
run: npm run build
working-directory: website
2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
},
"scripts": {
"analyze": "source-map-explorer build/static/js/*",
"lint": "prettier --check 'src/**/*.{js,jsx,ts,tsx,json,css}' && eslint src --ext js,jsx,ts,tsx --report-unused-disable-directives --max-warnings 0",
"lint": "prettier --check 'src/**/*.{js,jsx,ts,tsx,json,css}' && echo 'Running ESLint...' && eslint src --ext js,jsx,ts,tsx --report-unused-disable-directives --max-warnings 0 && echo 'All files pass linting!'",
"format": "prettier --write 'src/**/*.{js,jsx,ts,tsx,json,css}'",
"start": "vite",
"build": "tsc && vite build",
Expand Down

0 comments on commit 3d89db6

Please sign in to comment.