Skip to content

test: Run test app in GitHub Workflows #24

test: Run test app in GitHub Workflows

test: Run test app in GitHub Workflows #24

Workflow file for this run

name: Test
on:
push:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version: [14, 16, 18, 20, 22, "latest"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
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 }}