Run updatedb before tests so that we use the correct data file for te… #61
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: | |
push: | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Get Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '12.x' | |
env: | |
LICENSE_KEY: ${{ secrets.MAXMIND_LICENSE_KEY }} | |
- run: npm install | |
- run: npm run updatedb | |
- run: npm test |