Skip to content

Commit 466fec4

Browse files
committed
Add CDN detection tests to CI workflow
Uses actions/setup-node with Node LTS to ensure consistent test environment rather than relying on pre-installed version.
1 parent 6cc6b44 commit 466fec4

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,11 @@ jobs:
5353
node --check "$file"
5454
fi
5555
done
56+
57+
- name: Setup Node.js
58+
uses: actions/setup-node@v4
59+
with:
60+
node-version: lts/*
61+
62+
- name: Run CDN detection tests
63+
run: node tests/cdn-detection.test.js

0 commit comments

Comments
 (0)