@fmidev/smartmet-alert-client 4.7.0-rc.0 → 4.7.1
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/test.yaml +12 -5
- package/Jenkinsfile +4 -19
- package/dist/index.js +3 -3
- package/dist/index.mjs +4 -4
- package/dist/locale-en-BQoIe2mq.js +1 -1
- package/dist/locale-fi-Ck7cQBVl.js +1 -1
- package/dist/locale-sv-TehgVmro.js +1 -1
- package/dist/vue/index.mjs +5 -5
- package/dist/xml-parser-CQ0RiKzI.js +1 -1
- package/package.json +1 -1
- package/src/data/geometries.json +4 -4
- package/tests/integration/__snapshots__/map-snapshots.matrix.spec.ts.snap +24 -24
- package/tests/integration/__snapshots__/map-snapshots.spec.ts.snap +83 -83
- package/tests/unit/composables/__snapshots__/useMapPaths.snapshot.spec.ts.snap +664 -664
|
@@ -2,7 +2,9 @@ name: Test
|
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
5
|
-
|
|
5
|
+
|
|
6
|
+
permissions:
|
|
7
|
+
contents: read
|
|
6
8
|
|
|
7
9
|
jobs:
|
|
8
10
|
test:
|
|
@@ -11,7 +13,7 @@ jobs:
|
|
|
11
13
|
|
|
12
14
|
steps:
|
|
13
15
|
- name: Code checkout
|
|
14
|
-
uses: actions/checkout@
|
|
16
|
+
uses: actions/checkout@v6
|
|
15
17
|
with:
|
|
16
18
|
persist-credentials: false
|
|
17
19
|
|
|
@@ -20,7 +22,12 @@ jobs:
|
|
|
20
22
|
with:
|
|
21
23
|
node-version-file: '.nvmrc'
|
|
22
24
|
|
|
23
|
-
- name:
|
|
25
|
+
- name: Install
|
|
26
|
+
env:
|
|
27
|
+
NPM_CONFIG_IGNORE_SCRIPTS: true
|
|
28
|
+
run: |
|
|
29
|
+
npm install --ignore-scripts
|
|
30
|
+
|
|
31
|
+
- name: Validate
|
|
24
32
|
run: |
|
|
25
|
-
npm
|
|
26
|
-
npm run lint
|
|
33
|
+
npm run validate
|
package/Jenkinsfile
CHANGED
|
@@ -14,7 +14,7 @@ pipeline {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
tools {
|
|
17
|
-
nodejs 'nodejs-
|
|
17
|
+
nodejs 'nodejs-24'
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
options {
|
|
@@ -43,7 +43,7 @@ pipeline {
|
|
|
43
43
|
sh "npm --version"
|
|
44
44
|
sh "node --version"
|
|
45
45
|
sh "rm --recursive --force node_modules"
|
|
46
|
-
sh "npm install"
|
|
46
|
+
sh "npm install --ignore-scripts"
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
|
|
@@ -53,10 +53,9 @@ pipeline {
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
stage('
|
|
56
|
+
stage('Validate') {
|
|
57
57
|
steps {
|
|
58
|
-
sh "
|
|
59
|
-
sh "npm test || echo \"Some or all tests failed\""
|
|
58
|
+
sh "npm run validate"
|
|
60
59
|
}
|
|
61
60
|
}
|
|
62
61
|
|
|
@@ -82,21 +81,7 @@ pipeline {
|
|
|
82
81
|
sh "scp -rp dist/* ${deployUserAndHost}:${deployBaseDirectory}/${packageVersion}/"
|
|
83
82
|
}
|
|
84
83
|
}
|
|
85
|
-
|
|
86
|
-
/* Disabled npmjs.com deployment for now
|
|
87
|
-
stage('Publish package to npmjs.com') {
|
|
88
|
-
when { environment name: 'BRANCH_NAME', value: 'main' }
|
|
89
|
-
environment {
|
|
90
|
-
NPM_TOKEN = credentials('npm-token')
|
|
91
|
-
}
|
|
92
|
-
steps {
|
|
93
|
-
sh 'echo //registry.npmjs.org/:_authToken=$NPM_TOKEN > .npmrc'
|
|
94
|
-
sh 'npm publish'
|
|
95
|
-
sh 'rm .npmrc'
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
84
|
}
|
|
99
|
-
*/
|
|
100
85
|
|
|
101
86
|
post {
|
|
102
87
|
success {
|