Skip to content

Commit

Permalink
test: Run test app in GitHub Workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
shrink committed Nov 21, 2024
1 parent 337d8fe commit c3d8820
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 23 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,9 @@ jobs:
node-version: ${{ matrix.version }}
- run: npm ci
- run: npm test
- run: npm build
- run: cd test-app
- run: npm install
- run: node index.js
env:
IPINFO_TOKEN: ${{ secrets.IPINFO_TOKEN }}
67 changes: 45 additions & 22 deletions test-app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"author": "",
"license": "ISC",
"dependencies": {
"node-ipinfo": "^4.0.0",
"node-ipinfo": "file: ./../../",
"typescript": "^4.4.2"
}
}

0 comments on commit c3d8820

Please sign in to comment.