Skip to content

Commit

Permalink
Add params to built file
Browse files Browse the repository at this point in the history
  • Loading branch information
corollari committed Jul 9, 2020
1 parent 39bd44c commit e0aafa5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ jobs:
env:
MAXMIND_LICENSE_KEY: ${{ secrets.MAXMIND_LICENSE_KEY }}
- name: Build data structures
run: python processGeoIpCsv.py
run: |
python processGeoIpCsv.py
mv params.js build
- name: Get currently published data
run: |
mkdir old
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
__pycache__
*.pyc
raw
data
node_modules
build
tests/mock_data/*.js
npm-debug.log
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"data/*",
"build/index.js",
"build/index.d.ts",
"build/utils.js"
"build/utils.js",
"build/params.js"
],
"main": "build/index.js",
"types": "build/index.d.ts",
Expand Down

0 comments on commit e0aafa5

Please sign in to comment.