Skip to content

Commit fedd9ad

Browse files
chore: sync workflows
1 parent 88e1f8f commit fedd9ad

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/pr-updated.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ jobs:
6363
echo "::set-env name=RUNNING::"
6464
fi
6565
66+
- name: Sort
67+
run: npx sort-package-json
68+
if: env.RUNNING
6669
- name: Get version
6770
uses: technote-space/get-next-version-action@v1
6871
with:

.github/workflows/update-dependencies.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ jobs:
5858
if [[ ! -f package.json ]] || [[ $(< package.json jq -r '.version == null') == 'true' ]]; then
5959
echo "::set-env name=RUNNING2::"
6060
fi
61+
- name: Sort
62+
run: npx sort-package-json
63+
if: env.RUNNING2
6164
- name: Get version
6265
uses: technote-space/get-next-version-action@v1
6366
with:

0 commit comments

Comments
 (0)