diff --git a/.github/workflows/npm-typecheck.yml b/.github/workflows/npm-typecheck.yml new file mode 100644 index 00000000..f680b811 --- /dev/null +++ b/.github/workflows/npm-typecheck.yml @@ -0,0 +1,26 @@ +# Created using @tscircuit/plop (npm install -g @tscircuit/plop) +name: Type Check + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + type-check: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Use Node.js + uses: actions/setup-node@v3 + with: + node-version: "22" + + - name: Install dependencies + run: bun i + + - name: Run format check + run: npx tsc --noEmit