@golee/codice-fiscale-js 2.4.0-golee.3 → 2.4.0-golee.6
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.
- package/.github/workflows/{build-and-publish.yml → build.yml} +14 -17
- package/.nvmrc +1 -1
- package/dist/codice-fiscale-var.js +1 -1
- package/dist/codice.fiscale.amd.js +1 -1
- package/dist/codice.fiscale.commonjs2.js +1 -1
- package/dist/codice.fiscale.umd.js +1 -1
- package/dist/codice.fiscale.var.js +1 -1
- package/package.json +1 -2
- package/src/codice-fiscale.js +3 -0
- package/src/geo-data.js +14 -0
- package/tests/geo-data.spec.js +96 -0
- package/types/codice-fiscale.d.ts +14 -0
- package/types/geo-data.d.ts +10 -1
|
@@ -1,28 +1,27 @@
|
|
|
1
|
-
name: Build
|
|
1
|
+
name: Build
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
5
5
|
branches:
|
|
6
6
|
- master
|
|
7
|
-
workflow_dispatch:
|
|
8
7
|
|
|
9
8
|
jobs:
|
|
10
9
|
build:
|
|
11
10
|
name: Build
|
|
12
|
-
runs-on: ubuntu-
|
|
11
|
+
runs-on: ubuntu-22.04
|
|
13
12
|
|
|
14
13
|
steps:
|
|
15
14
|
- name: Checkout
|
|
16
|
-
uses: actions/checkout@
|
|
15
|
+
uses: actions/checkout@v7
|
|
17
16
|
|
|
18
17
|
- name: Setup Node
|
|
19
|
-
uses: actions/setup-node@
|
|
18
|
+
uses: actions/setup-node@v7
|
|
20
19
|
with:
|
|
21
20
|
node-version-file: '.nvmrc'
|
|
22
21
|
cache: npm
|
|
23
22
|
|
|
24
23
|
- name: Dependencies
|
|
25
|
-
run: npm ci
|
|
24
|
+
run: npm ci
|
|
26
25
|
|
|
27
26
|
- name: Test
|
|
28
27
|
run: npm test
|
|
@@ -32,28 +31,28 @@ jobs:
|
|
|
32
31
|
|
|
33
32
|
publish:
|
|
34
33
|
name: Publish
|
|
35
|
-
runs-on: ubuntu-
|
|
34
|
+
runs-on: ubuntu-22.04
|
|
36
35
|
needs: build
|
|
37
36
|
|
|
38
|
-
if: github.ref == 'refs/heads/master' && !contains(github.event.head_commit.message, '[skip-publish]')
|
|
39
|
-
|
|
40
37
|
permissions:
|
|
41
|
-
contents: read
|
|
42
38
|
id-token: write
|
|
39
|
+
contents: read
|
|
40
|
+
|
|
41
|
+
if: github.ref == 'refs/heads/master' && !contains(github.event.head_commit.message, '[skip-publish]')
|
|
43
42
|
|
|
44
43
|
steps:
|
|
45
44
|
- name: Checkout
|
|
46
|
-
uses: actions/checkout@
|
|
45
|
+
uses: actions/checkout@v7
|
|
47
46
|
|
|
48
|
-
- name: Setup Node
|
|
49
|
-
uses: actions/setup-node@
|
|
47
|
+
- name: "Setup: Node"
|
|
48
|
+
uses: actions/setup-node@v7
|
|
50
49
|
with:
|
|
51
50
|
node-version-file: '.nvmrc'
|
|
52
51
|
cache: npm
|
|
53
52
|
registry-url: https://registry.npmjs.org
|
|
54
53
|
|
|
55
54
|
- name: Dependencies
|
|
56
|
-
run: npm ci
|
|
55
|
+
run: npm ci
|
|
57
56
|
|
|
58
57
|
- name: Build
|
|
59
58
|
run: npm run build
|
|
@@ -66,6 +65,4 @@ jobs:
|
|
|
66
65
|
npm version "${UPSTREAM_VERSION}-golee.${{ github.run_number }}" --no-git-tag-version
|
|
67
66
|
|
|
68
67
|
- name: Publish
|
|
69
|
-
run:
|
|
70
|
-
npm install -g npm@11.5.1
|
|
71
|
-
npm publish --access public --tag latest
|
|
68
|
+
run: npm publish --access public --tag latest
|
package/.nvmrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
v24
|