Fix CI: install jq/kustomize, fetch-depth 2 for deploy-production
node:20-bookworm doesn't include jq or kustomize. Also need fetch-depth: 2 so HEAD~1 exists for turbo's change detection.
This commit is contained in:
@@ -20,6 +20,8 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- run: apt-get update && apt-get install -y jq
|
||||
|
||||
- name: Detect changed apps
|
||||
id: filter
|
||||
run: |
|
||||
|
||||
@@ -10,6 +10,8 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- run: apt-get update && apt-get install -y jq kustomize
|
||||
|
||||
- run: corepack enable && corepack prepare pnpm@latest --activate
|
||||
|
||||
- run: pnpm install --frozen-lockfile
|
||||
|
||||
@@ -9,6 +9,10 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 2
|
||||
|
||||
- run: apt-get update && apt-get install -y jq kustomize
|
||||
|
||||
- run: corepack enable && corepack prepare pnpm@latest --activate
|
||||
|
||||
|
||||
Reference in New Issue
Block a user