Skip to content

Commit da738a0

Browse files
committed
Add build and build artifacts + readme badges
1 parent 49be042 commit da738a0

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,15 @@ jobs:
2828
- name: Run Jest tests
2929
run: npm test
3030

31+
- name: Run Build
32+
run: npm run build
33+
34+
- name: Archive Build
35+
uses: actions/upload-artifact@v4
36+
with:
37+
name: build
38+
path: dist
39+
3140
- name: Collect Coverage
3241
run: coveralls report
3342
env:

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# GeoJSON Map Fit Mercator
22

33
[![npm version](https://badge.fury.io/js/geojson-map-fit-mercator.svg)](https://badge.fury.io/js/geojson-map-fit-mercator)
4-
4+
[![CI Build](https://github.com/tjdavey/geojson-map-fit-mercator/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/tjdavey/geojson-map-fit-mercator/actions/workflows/test.yml)
5+
[![Coverage Status](https://coveralls.io/repos/github/tjdavey/geojson-map-fit-mercator/badge.svg?branch=main)](https://coveralls.io/github/tjdavey/geojson-map-fit-mercator?branch=main)
6+
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Ftjdavey%2Fgeojson-map-fit-mercator.svg?type=shield&issueType=license)](https://app.fossa.com/projects/git%2Bgithub.com%2Ftjdavey%2Fgeojson-map-fit-mercator?ref=badge_shield&issueType=license)
57

68
[GeoJSON Map Fit Mercator](https://tristandavey.com/geojson-map-fit-mercator/) finds the optimal bearing, zoom and
79
center point for fitting a set of [GeoJSON](https://geojson.org/) features in a

0 commit comments

Comments
 (0)