Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,15 @@ jobs:
name: npm-dist
path: "*.tgz"

# GeoNames data (cities500 + admin1 codes) is downloaded by the geocode
# test on first run. Cache it so we don't re-fetch ~10MB from
# download.geonames.org on every run. Bump the -v1 suffix to force a refresh.
- name: Cache GeoNames data
uses: actions/cache@v4
with:
path: tmp/geonames
key: geonames-v1

- name: Run tests
run: npm run test

Expand Down
Loading