Skip to content

Commit 1b3a5e9

Browse files
committed
ci: fix node20 and file lookup
1 parent e805dc4 commit 1b3a5e9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ jobs:
3636
steps:
3737
- name: Checkout repository
3838
uses: actions/checkout@v4
39+
with:
40+
fetch-depth: 0
3941

4042
- name: Check if bundled
4143
run: |
@@ -46,7 +48,6 @@ jobs:
4648
4749
- name: Check if dist/index.js is updated in PR
4850
run: |
49-
git fetch origin ${{ github.base_ref }}
5051
if ! git diff --name-only origin/${{ github.base_ref }}...HEAD | grep -q '^dist/index.js$'; then
5152
echo "dist/index.js was not updated in this PR. Please update the bundle.";
5253
exit 1;

action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ inputs:
2121
description: A regex pattern to validate the subject of the commit message.
2222
default: ""
2323
runs:
24-
using: node22
24+
using: node20
2525
main: dist/index.js

0 commit comments

Comments
 (0)