Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5617560

Browse files
committed
Update readme for release, add action for publishing to npm
1 parent f79c28b commit 5617560

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

.github/workflows/npm-publish.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Publish to NPM
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- uses: actions/setup-node@v1
13+
with:
14+
node-version: 10.14
15+
- run: npm ci
16+
- run: npm test
17+
18+
publish-npm:
19+
needs: build
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v2
23+
- uses: actions/setup-node@v1
24+
with:
25+
node-version: 10.14
26+
registry-url: https://registry.npmjs.org/
27+
- run: npm ci
28+
- run: npm publish
29+
env:
30+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ You start this from the command line:
245245
-V, --version output the version number
246246
-p, --port <n> Server port
247247
-t, --tiles <mbtiles_path> Directory containing local mbtiles files to render
248+
-v, --verbose Enable request logging
248249
-h, --help output usage information
249250
```
250251

@@ -350,11 +351,12 @@ In order to use this package on a headless server, you need to use `xvfb`. See `
350351

351352
## Changes
352353

353-
### 0.7.0 (in progress)
354+
### 0.7.0
354355

355356
- Added support for padding image bounds
356357
- Handle missing remote assets correctly (#49)
357358
- Added support for image sources (#52)
359+
- Added request logging (#54)
358360

359361
### 0.6.2
360362

0 commit comments

Comments
 (0)