-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update ESLint configuration, Dockerfile, and package dependencies; ad…
…d GitHub Actions workflow for code quality checks - Changed ESLint parser options to use 'module' as source type. - Updated Dockerfile to remove force flag from npm install command. - Upgraded 'mime' package from version 3.0.0 to 4.0.0 in package.json. - Added '@types/mime' as a development dependency. - Updated TypeScript configuration to use 'CommonJS' module format. - Introduced a new GitHub Actions workflow for checking code quality, including linting and build checks.
- Loading branch information
1 parent
d598c4e
commit 616ae0a
Showing
6 changed files
with
230 additions
and
186 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Check Code Quality | ||
|
||
on: [pull_request] | ||
|
||
jobs: | ||
check-lint-and-build: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 10 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install Node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 20.x | ||
|
||
- name: Install packages | ||
run: npm install | ||
|
||
- name: Check linting | ||
run: npm run lint:check | ||
|
||
- name: Check build | ||
run: npm run db:generate | ||
|
||
- name: Check build | ||
run: npm run build |
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
Oops, something went wrong.