Skip to content

Commit 1a916d7

Browse files
committed
fix(ci): update workflows
1 parent 7a69259 commit 1a916d7

File tree

5 files changed

+3123
-16
lines changed

5 files changed

+3123
-16
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
run: pnpm test:emulator
106106

107107
- name: Build packages
108-
run: pnpm turbo build
108+
run: pnpm turbo build --filter=@tanstack-query-firebase/react --filter=@tanstack-query-firebase/angular
109109

110110
- name: Verify build outputs
111111
run: |
@@ -120,27 +120,27 @@ jobs:
120120
fi
121121
fi
122122
done
123-
123+
124124
if [ -n "$MISSING_BUILDS" ]; then
125125
echo "❌ Build outputs missing for: $MISSING_BUILDS"
126126
exit 1
127127
fi
128-
128+
129129
echo "✅ All build outputs verified"
130130
131131
- name: Validate changesets
132132
run: |
133133
set -e
134134
CHANGESET_FILES=$(find .changeset -name "*.md" -type f ! -name "README.md" 2>/dev/null || true)
135-
135+
136136
if [ -z "$CHANGESET_FILES" ]; then
137137
echo "❌ No changesets found!"
138138
echo ""
139139
echo "Please create changesets locally with: pnpm changeset"
140140
echo "Changesets should be created during development, not during release."
141141
exit 1
142142
fi
143-
143+
144144
CHANGESET_COUNT=$(echo "$CHANGESET_FILES" | wc -l | tr -d ' ')
145145
echo "✅ Found $CHANGESET_COUNT changeset(s):"
146146
echo "$CHANGESET_FILES" | while read -r file; do
@@ -177,19 +177,19 @@ jobs:
177177
# Configure git user for changeset version command
178178
git config user.name "github-actions[bot]"
179179
git config user.email "github-actions[bot]@users.noreply.github.com"
180-
180+
181181
# Save current HEAD reference before making changes
182182
ORIGINAL_HEAD=$(git rev-parse HEAD)
183183
# Create a temporary branch for dry run with unique name
184184
FALLBACK_ID=${GITHUB_RUN_ID:-$RANDOM$RANDOM}
185185
TEMP_BRANCH="dry-run-temp-$FALLBACK_ID"
186186
git checkout -b "$TEMP_BRANCH"
187187
pnpm changeset version
188-
188+
189189
echo ""
190190
echo "🔍 Changed files:"
191191
git diff --name-status "$ORIGINAL_HEAD"
192-
192+
193193
echo ""
194194
echo "🔍 Package version changes:"
195195
VERSION_CHANGES=$(git diff "$ORIGINAL_HEAD" -- '**/package.json' | grep -E "^[+-]\s*\"version\"" || true)
@@ -198,10 +198,10 @@ jobs:
198198
else
199199
echo "$VERSION_CHANGES"
200200
fi
201-
201+
202202
# Clean up
203203
git checkout -
204204
git branch -D "$TEMP_BRANCH"
205-
205+
206206
echo ""
207207
echo "✅ Dry run completed successfully"

.github/workflows/tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ jobs:
107107
108108
# Build packages before testing
109109
- name: Build packages
110-
run: pnpm turbo build
110+
run: pnpm turbo build --filter=@tanstack-query-firebase/react --filter=@tanstack-query-firebase/angular
111111

112112
# Verify build outputs
113113
- name: Verify build outputs
@@ -122,7 +122,7 @@ jobs:
122122
fi
123123
fi
124124
done
125-
125+
126126
if [ -n "$MISSING_BUILDS" ]; then
127127
echo "❌ Build outputs not found for: $MISSING_BUILDS"
128128
exit 1

dataconnect-sdk/js/default-connector/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
"./package.json": "./package.json"
2121
},
2222
"peerDependencies": {
23-
"firebase": "^10.14.0 || ^11.3.0 || ^12.0.0"
23+
"firebase": "^10.14.0 || ^11.3.0"
2424
}
25-
}
25+
}

0 commit comments

Comments
 (0)