Skip to content

feat: custom scripts #1894

feat: custom scripts

feat: custom scripts #1894

Workflow file for this run

name: Cli CI
on:
pull_request:
paths:
- "cli/**/*"
- "connect/**/*"
- ".github/workflows/cli-ci.yaml"
concurrency:
group: ${{github.workflow}}-${{github.head_ref}}
cancel-in-progress: true
env:
CI: true
DO_NOT_TRACK: '1'
jobs:
build_test:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/actions/node
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Generate code
run: pnpm buf generate --template buf.ts.gen.yaml
- name: Check if git is not dirty after generating files
run: git diff --no-ext-diff --exit-code
- name: Build
run: pnpm run --filter ./cli --filter ./connect --filter ./shared --filter ./composition build
- name: Test
run: pnpm run --filter wgc test