Skip to content

Commit

Permalink
build: moved typescript linting script to examples and adjusted build…
Browse files Browse the repository at this point in the history
… steps
  • Loading branch information
grisha87 committed Aug 30, 2023
1 parent 212650d commit 0a92dad
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,5 @@ jobs:
npm run lint
npm run test:unit
npm run build
npm run lint:ts:examples
npm install --prefix examples
npm run --prefix examples lint:ts
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:
npm run format:check
npm run lint
npm run test:unit
npm run build
npm run lint:ts:examples
npm install --prefix examples
npm run --prefix examples lint:ts
run-integration-and-e2e-tests:
name: Run integration and E2E tests
Expand Down
3 changes: 2 additions & 1 deletion examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"fibonacci": "node ./fibonacci/fibonacci.js",
"ssh": "ts-node ./ssh/ssh.ts",
"tag": "ts-node ./simple-usage/tag.ts",
"web": "node ./web/app.mjs"
"web": "node ./web/app.mjs",
"lint:ts": "tsc --project tsconfig.json --noEmit"
},
"author": "GolemFactory <[email protected]>",
"license": "LGPL-3.0",
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"lint": "npm run lint:ts && npm run lint:ts:tests && npm run lint:eslint",
"lint:ts": "tsc --project tsconfig.json --noEmit",
"lint:ts:tests": "tsc --project tests/tsconfig.json --noEmit",
"lint:ts:examples": "tsc --project examples/tsconfig.json --noEmit",
"lint:eslint": "eslint .",
"format": "prettier -w .",
"format:check": "prettier -c .",
Expand Down

0 comments on commit 0a92dad

Please sign in to comment.