diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dcd016d5a..2fa4664dc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bd8248c89..2bdda5847 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/examples/package.json b/examples/package.json index 5e9c108a0..b8610f646 100644 --- a/examples/package.json +++ b/examples/package.json @@ -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 ", "license": "LGPL-3.0", diff --git a/package.json b/package.json index 02adb51b0..a74b3385c 100644 --- a/package.json +++ b/package.json @@ -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 .",