diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..74d9434 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,23 @@ +name: Lint, Check Types +on: push + +jobs: + check-types: + name: Lint, Check Types + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v2 + with: + version: 'latest' + - name: Use Node.js + uses: actions/setup-node@v4 + with: + node-version: 'lts/*' + cache: 'pnpm' + - run: pnpm install + working-directory: guest-list-mobile + - run: pnpm eslint . --max-warnings 0 + working-directory: guest-list-mobile + - run: pnpm tsc + working-directory: guest-list-mobile