mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-13 23:17:34 -06:00

- 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.
28 lines
489 B
YAML
28 lines
489 B
YAML
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 |