Skip to content

Commit 712f6fa

Browse files
authored
build: Release (#2863)
2 parents a059f95 + 9ef56e9 commit 712f6fa

File tree

6 files changed

+169
-124
lines changed

6 files changed

+169
-124
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@ jobs:
1919
with:
2020
node-version: ${{ env.NODE_VERSION }}
2121
cache: npm
22-
- name: Install dependencies
22+
- name: Install prod dependencies
2323
run: npm ci --ignore-scripts
24+
- name: Remove dev dependencies
25+
run: ./ci/uninstallDevDeps.sh @actions/core
2426
- name: CI Node Engine Check
2527
run: npm run ci:checkNodeEngine
2628
check-lint:

changelogs/CHANGELOG_alpha.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [7.2.1-alpha.1](https://github.com/parse-community/parse-dashboard/compare/7.2.0...7.2.1-alpha.1) (2025-06-02)
2+
3+
4+
### Bug Fixes
5+
6+
* Data browser does not cancel obsolete long-loading request on sorting field change ([#2839](https://github.com/parse-community/parse-dashboard/issues/2839)) ([0f85376](https://github.com/parse-community/parse-dashboard/commit/0f85376b8ae1db7ae31626896b06fdc0bd8efd75))
7+
18
# [7.2.0-alpha.9](https://github.com/parse-community/parse-dashboard/compare/7.2.0-alpha.8...7.2.0-alpha.9) (2025-05-27)
29

310

ci/uninstallDevDeps.sh

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/bin/bash
2+
3+
# Read package exclusion list from arguments
4+
exclusionList=("$@")
5+
6+
# Convert exclusion list to grep pattern
7+
exclusionPattern=$(printf "|%s" "${exclusionList[@]}")
8+
exclusionPattern=${exclusionPattern:1}
9+
10+
# Get list of all dev dependencies
11+
devDeps=$(jq -r '.devDependencies | keys | .[]' package.json)
12+
13+
# Filter out exclusion list
14+
depsToUninstall=$(echo "$devDeps" | grep -Ev "$exclusionPattern")
15+
16+
# If there are dependencies to uninstall then uninstall them
17+
if [ -n "$depsToUninstall" ]; then
18+
echo "Uninstalling dev dependencies: $depsToUninstall"
19+
npm uninstall $depsToUninstall
20+
else
21+
echo "No dev dependencies to uninstall"
22+
fi

0 commit comments

Comments
 (0)