diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 30d39f0cf..cdf18bb81 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,6 +26,18 @@ jobs: - run: npm ci - run: npm run lint + typescript: + name: TypeScript + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 + - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 + with: + node-version: 22 + cache: npm + - run: npm ci + - run: npm run typescript + kotlin-tests: name: Kotlin Tests runs-on: ubuntu-latest @@ -43,7 +55,7 @@ jobs: build: name: Build Package runs-on: ubuntu-latest - needs: [lint, kotlin-tests] + needs: [lint, typescript, kotlin-tests] steps: - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 diff --git a/tsconfig.json b/tsconfig.json index 5bb4982a5..4a7b8885d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -34,7 +34,6 @@ "babel.config.js", "metro.config.js", "jest.config.js", - "example/detox/**/*", - "example/node_modules" + "example" ] }