dotted-map 2.2.2 → 2.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,22 @@
1
+ name: Publish to npm
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+
8
+ jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v2
13
+ - uses: actions/setup-node@v2
14
+ with:
15
+ node-version: '16.x'
16
+ registry-url: 'https://registry.npmjs.org'
17
+ - run: npm install
18
+ - run: npm run build
19
+ - run: npm test
20
+ - run: npm publish
21
+ env:
22
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dotted-map",
3
- "version": "2.2.2",
3
+ "version": "2.2.3",
4
4
  "description": "Create a SVG map filled with dots for the world or countries",
5
5
  "main": "./index.js",
6
6
  "exports": {
@@ -9,7 +9,8 @@
9
9
  },
10
10
  "module": "./src/with-countries.js",
11
11
  "scripts": {
12
- "build": "webpack"
12
+ "build": "webpack",
13
+ "test": "node test.js"
13
14
  },
14
15
  "keywords": [
15
16
  "map",