diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..85e07a35 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +name: CI Checks +on: + push: + branches: [main] + pull_request: + branches: [main] +jobs: + code_checks: + timeout-minutes: 10 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 18 + + - name: Install dependencies + run: yarn + + - name: Prettier + run: npm run prettier + + - name: ESLint + run: npm run lint