Skip to content

Commit 5bf68d0

Browse files
committed
🔧 update workflows
1 parent fc47359 commit 5bf68d0

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/⬆️npm-upgrade.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ jobs:
2525
run: npm install -g npm-check-updates
2626

2727
- name: 🔄 Update dependency versions
28-
run: ncu -u
28+
run: |
29+
ncu -u
30+
echo "📦 Updated Packages:"
31+
git diff package.json | grep "^[+-]" | grep -v "\"@" | grep -v "^[+-][+-]"
2932
3033
- name: ⬆️ Update all npm packages
3134
run: npm install --legacy-peer-deps
@@ -39,7 +42,7 @@ jobs:
3942
- name: 🧪 Test with coverage
4043
run: npm run test
4144

42-
- name: Check Test Results
45+
- name: ☑️ Check Test Results
4346
id: check_tests
4447
run: |
4548
if [ $? -eq 0 ]; then
@@ -48,6 +51,9 @@ jobs:
4851
echo "::set-output name=tests_passed::false"
4952
fi
5053
54+
- name: 🧐 Ensure package-lock.json exists
55+
run: npm i --package-lock-only
56+
5157
- name: 🎭 Mask Debricked credentials
5258
run: |
5359
echo "::add-mask::${{ secrets.DEBRICKED_TOKEN }}"

0 commit comments

Comments
 (0)