Skip to content

Commit

Permalink
chore: testing TS issues
Browse files Browse the repository at this point in the history
  • Loading branch information
aberonni committed Jul 9, 2024
1 parent 311e032 commit cde6478
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test_mock-service_code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ jobs:
working-directory: ${{ env.workingDirectory }}
run: 'npm run lint'

- name: Check for TS errors
working-directory: ${{ env.workingDirectory }}
run: 'npm run typecheck'

- name: Test
working-directory: ${{ env.workingDirectory }}
run: 'npm run test'
4 changes: 4 additions & 0 deletions .github/workflows/test_service_code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ jobs:
working-directory: ${{ env.workingDirectory }}
run: 'npm run knip'

- name: Check for TS errors
working-directory: ${{ env.workingDirectory }}
run: 'npm run typecheck'

- name: Unit-Test
working-directory: ${{ env.workingDirectory }}
env:
Expand Down
4 changes: 3 additions & 1 deletion services/121-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@
"migration:run": "npm run typeorm migration:run -- -d ./src/datasource-manage-migrations.ts",
"migration:revert": "npm run typeorm migration:revert -- -d ./src/datasource-manage-migrations.ts",
"knip": "knip",
"knip:fix": "knip --fix-type files,exports,types"
"knip:fix": "knip --fix-type files,exports,types",
"typecheck": "tsc --noEmit",
"typecheck:dev": "tsc --noEmit --watch"
},
"private": true,
"dependencies": {
Expand Down
4 changes: 3 additions & 1 deletion services/mock-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
"build": "nest build -p tsconfig.json",
"start": "GLOBAL_121_VERSION=$(test -f \"VERSION.txt\" && cat VERSION.txt || echo $GLOBAL_121_VERSION) node dist/main.js",
"prestart:dev": "npm install --no-fund --no-audit",
"start:dev": "nest start -r tsconfig-paths/register -b swc -w -p tsconfig.json"
"start:dev": "nest start -r tsconfig-paths/register -b swc -w -p tsconfig.json",
"typecheck": "tsc --noEmit",
"typecheck:dev": "tsc --noEmit --watch"
},
"private": true,
"dependencies": {
Expand Down

0 comments on commit cde6478

Please sign in to comment.