diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..806c54c --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,56 @@ +name: CI + +permissions: + contents: read + +on: + pull_request: + branches: + - main + push: + branches: + - main + +concurrency: + group: ci-${{ github.ref }} + cancel-in-progress: true + +jobs: + validate: + name: Lint + Test + Build + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v6 + with: + submodules: recursive + persist-credentials: false + + - name: Setup Node.js + uses: actions/setup-node@v6 + with: + node-version: '24' + + - name: Enable Corepack + run: corepack enable + + - name: Install Yarn + run: corepack prepare yarn@4.12.0 --activate + + - name: Install dependencies + run: yarn install --immutable + + - name: Generate proto clients + run: yarn generate + + - name: Lint + run: yarn lint + + - name: Typecheck + run: yarn typecheck + + - name: Test + run: yarn test + + - name: Build + run: yarn build diff --git a/proto b/proto index 58019f4..0d79dd0 160000 --- a/proto +++ b/proto @@ -1 +1 @@ -Subproject commit 58019f4e91f69ca90dd6a58815f77c31df4afd1f +Subproject commit 0d79dd09fe4e1fcd0d7b991d8602fc30e193d46f