diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 7474bff..2223658 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -28,6 +28,8 @@ jobs: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v4 + with: + package_json_file: bastion/package.json - uses: actions/setup-node@v4 with: @@ -47,6 +49,8 @@ jobs: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v4 + with: + package_json_file: bastion/package.json - uses: actions/setup-node@v4 with: @@ -54,6 +58,9 @@ jobs: - run: pnpm install --frozen-lockfile + - name: Generate Prisma client (labd typecheck needs it) + run: pnpm -C src/labd run db:generate + - name: Typecheck run: pnpm typecheck @@ -66,6 +73,8 @@ jobs: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v4 + with: + package_json_file: bastion/package.json - uses: actions/setup-node@v4 with: @@ -73,6 +82,9 @@ jobs: - run: pnpm install --frozen-lockfile + - name: Generate Prisma client (labd typecheck needs it) + run: pnpm -C src/labd run db:generate + - name: Build (needed by completions check) run: pnpm build @@ -91,6 +103,8 @@ jobs: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v4 + with: + package_json_file: bastion/package.json - uses: actions/setup-node@v4 with: @@ -99,6 +113,9 @@ jobs: - name: Install dependencies run: pnpm install --frozen-lockfile + - name: Generate Prisma client (labd typecheck needs it) + run: pnpm -C src/labd run db:generate + - name: Build all packages run: pnpm build