fix: remove ip dependency and use node blocklist to check for 10.0.0.0/8 range #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
pull_request: | |
jobs: | |
test: | |
name: Unit Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- id: nvm | |
run: echo ::set-output name=node-version::$(cat .nvmrc) | |
shell: bash | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: "${{ steps.nvm.outputs.node-version }}" | |
- id: install | |
run: npm ci | tee ci-output.log | |
shell: bash | |
- id: run-test | |
shell: bash | |
run: npm test |