diff --git a/.github/workflows/on-push.yaml b/.github/workflows/on-push.yaml index 306e7592d..cf95a996e 100644 --- a/.github/workflows/on-push.yaml +++ b/.github/workflows/on-push.yaml @@ -25,6 +25,8 @@ jobs: run: yarn && yarn yarn-audit-ci --high - name: Build Packages run: yarn build + - name: Build examples + run: yarn build:examples - name: Lint run: yarn lint - name: Test diff --git a/package.json b/package.json index a7802f59a..94856048d 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "scripts": { "clean": "lerna run clean", "build": "lerna run build", + "build:examples": "tsc examples/**/*.ts --noEmit --skipLibCheck", "pub": "lerna publish", "test": "lerna run test", "e2e": "lerna run e2e", @@ -47,4 +48,4 @@ "typescript": "^5.0.4", "yarn-audit-ci": "^1.2.0" } -} +} \ No newline at end of file