fix: args work now (#54)

This commit is contained in:
Jef LeCompte
2025-07-21 22:30:56 -07:00
committed by GitHub
parent e077f2721c
commit ad7aa8e581
4 changed files with 83 additions and 39 deletions

View File

@@ -27,6 +27,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version-file: package.json
cache: npm
- name: Install dependencies
run: npm ci
@@ -37,5 +38,16 @@ jobs:
- name: Lint
run: npm run lint
- name: Test
- name: Unit tests
run: npm run test:run
- name: Integration tests
run: |
node dist/index.js --lineupId=USA-DITV751-X --timespan=3 --postalCode=80020 --outputFile=dtv.xml
node dist/index.js --lineupId=USA-OTA80020 --timespan=3 --postalCode=80020 --outputFile=ota.xml
# Error if they are the same
if cmp -s dtv.xml ota.xml; then
echo "DTV and OTA outputs are the same, which is unexpected."
exit 1
fi