diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 00000000..84a79aa1 --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,27 @@ +--- +name: Check + +on: + push: + branches: + - "**" + +jobs: + typecheck: + name: Typecheck (Node.js v${{ matrix.node }}) + runs-on: ubuntu-latest + timeout-minutes: 30 + steps: + - name: Checkout + uses: actions/checkout@v1 + - name: Setup Node.js + uses: actions/setup-node@v2 + with: + node-version: "18.x" + registry-url: "https://npm.pkg.github.com" + - run: npm install + env: + NODE_AUTH_TOKEN: ${{ secrets.SEAMAPI_NPM_TOKEN }} + # - run: npm run build + - name: Check types + run: npm run typecheck