Skip to content

Commit

Permalink
Update runner dependencies (#1017)
Browse files Browse the repository at this point in the history
 - Upgrades npm dependencies of runner
 - Improves github actions of runner
  • Loading branch information
prasadtalasila authored Oct 29, 2024
1 parent a42678a commit 5f4beda
Show file tree
Hide file tree
Showing 5 changed files with 1,160 additions and 1,186 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
test-runner:
name: Test digital twin runner
runs-on: ubuntu-latest
defaults:
run:
working-directory: servers/execution/runner/

steps:
- name: Checkout
Expand All @@ -27,24 +30,21 @@ jobs:
cache: "yarn"
cache-dependency-path: "**/yarn.lock"

- name: Run linting checks on runner
- name: Run linting and formatting checks on runner
run: |
cd servers/execution/runner
npm install -g prettier
yarn install
yarn syntax
prettier -c --ignore-path ../.gitignore "**/*.{ts,tsx,css,scss}"
- name: Build the runner
if: success() || failure()
run: |
cd servers/execution/runner
yarn install
yarn build
- name: Run tests
if: success() || failure()
run: |
cd servers/execution/runner
yarn install
yarn test
- name: Upload test coverage to Codecov
Expand Down
6 changes: 0 additions & 6 deletions servers/execution/runner/.eslintignore

This file was deleted.

53 changes: 0 additions & 53 deletions servers/execution/runner/.eslintrc

This file was deleted.

62 changes: 31 additions & 31 deletions servers/execution/runner/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@into-cps-association/runner",
"version": "0.3.0",
"version": "0.3.1",
"description": "DT Runner",
"main": "dist/src/runner.js",
"repository": "https://github.com/into-cps-association/DTaaS.git",
Expand Down Expand Up @@ -35,51 +35,51 @@
"singleQuote": true
},
"devDependencies": {
"@eslint/compat": "^1.0.1",
"@eslint/eslintrc": "^3.0.2",
"@eslint/compat": "^1.2.1",
"@eslint/eslintrc": "^3.1.0",
"@jest/globals": "^29.7.0",
"@nestjs/cli": "^10.3.2",
"@nestjs/schematics": "^10.1.1",
"@nestjs/testing": "^10.3.8",
"@swc/cli": "^0.3.12",
"@swc/core": "^1.5.7",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@nestjs/cli": "^10.4.5",
"@nestjs/schematics": "^10.2.3",
"@nestjs/testing": "^10.4.6",
"@swc/cli": "^0.4.0",
"@swc/core": "^1.7.40",
"@types/express": "^5.0.0",
"@types/jest": "^29.5.14",
"@types/js-yaml": "^4.0.9",
"@types/node": "^20.12.12",
"@types/node": "^22.8.1",
"@types/supertest": "^6.0.2",
"@typescript-eslint/eslint-plugin": "^7.9.0",
"@typescript-eslint/parser": "^7.9.0",
"concurrently": "^8.2.2",
"eslint": "^9.2.0",
"@typescript-eslint/eslint-plugin": "^8.11.0",
"@typescript-eslint/parser": "^8.11.0",
"concurrently": "^9.0.1",
"eslint": "^9.13.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^28.5.0",
"eslint-plugin-prettier": "^5.1.3",
"globals": "^15.2.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.8.3",
"eslint-plugin-prettier": "^5.2.1",
"globals": "^15.11.0",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"prettier": "^3.3.3",
"source-map-support": "^0.5.21",
"supertest": "^7.0.0",
"ts-jest": "^29.1.2",
"ts-jest": "^29.2.5",
"ts-loader": "^9.5.1",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.4.5",
"webpack": "^5.91.0"
"typescript": "^5.6.3",
"webpack": "^5.95.0"
},
"dependencies": {
"@nestjs/common": "^10.3.8",
"@nestjs/config": "^3.2.2",
"@nestjs/core": "^10.3.8",
"@nestjs/platform-express": "^10.3.8",
"@nestjs/common": "^10.4.6",
"@nestjs/config": "^3.3.0",
"@nestjs/core": "^10.4.6",
"@nestjs/platform-express": "^10.4.6",
"chalk": "^5.3.0",
"commander": "^12.0.0",
"commander": "^12.1.0",
"cross-env": "^7.0.3",
"execa": "^9.1.0",
"express": "^4.19.2",
"execa": "^9.5.0",
"express": "^4.21.1",
"js-yaml": "^4.1.0",
"keyv": "^4.5.4",
"keyv": "^5.1.2",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.1",
"zod": "^3.23.8"
Expand Down
Loading

0 comments on commit 5f4beda

Please sign in to comment.