@pax2pay/model-banking 0.1.629 → 0.1.630
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.
|
@@ -13,17 +13,16 @@ jobs:
|
|
|
13
13
|
|
|
14
14
|
steps:
|
|
15
15
|
- name: "Checkout source code"
|
|
16
|
-
uses:
|
|
16
|
+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
17
17
|
with:
|
|
18
18
|
token: ${{ secrets.ADMIN_TOKEN }}
|
|
19
19
|
- name: "Setup Node"
|
|
20
|
-
uses:
|
|
20
|
+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
|
21
21
|
with:
|
|
22
|
-
node-version: 24
|
|
23
|
-
cache: 'npm'
|
|
22
|
+
node-version: 24.16
|
|
24
23
|
- name: "Version Bump"
|
|
25
24
|
id: version-bump
|
|
26
|
-
uses:
|
|
25
|
+
uses: phips28/gh-action-bump-version@215e27a882516826c59df7f09da8c67d5f375cbd # v11.1.5
|
|
27
26
|
with:
|
|
28
27
|
tag-prefix: 'release-'
|
|
29
28
|
env:
|
package/.github/workflows/ci.yml
CHANGED
|
@@ -2,60 +2,80 @@ name: CI
|
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
pull_request:
|
|
5
|
-
|
|
5
|
+
|
|
6
6
|
jobs:
|
|
7
7
|
build:
|
|
8
8
|
name: Build
|
|
9
9
|
runs-on: ubuntu-latest
|
|
10
10
|
steps:
|
|
11
|
-
- uses: actions/checkout@
|
|
12
|
-
-
|
|
11
|
+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
12
|
+
- name: Setup Socket Dev
|
|
13
|
+
uses: SocketDev/action@2d3f25590c6ed6ba11a9a14c064d962a3a04698f # v1.3.1
|
|
14
|
+
with:
|
|
15
|
+
mode: firewall-free
|
|
16
|
+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
|
13
17
|
with:
|
|
14
|
-
node-version: 24
|
|
15
|
-
|
|
16
|
-
|
|
18
|
+
node-version: 24.16
|
|
19
|
+
- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
|
|
20
|
+
id: node-modules-cache
|
|
17
21
|
with:
|
|
18
22
|
path: '**/node_modules'
|
|
19
|
-
key: node_modules-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
|
|
20
|
-
-
|
|
23
|
+
key: node_modules-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('**/package-lock.json') }}
|
|
24
|
+
- name: Install dependencies on cache miss
|
|
25
|
+
if: steps.node-modules-cache.outputs.cache-hit != 'true'
|
|
26
|
+
run: sfw --verbose npm ci
|
|
21
27
|
- run: npm run build
|
|
28
|
+
|
|
22
29
|
test:
|
|
23
30
|
name: Test
|
|
24
31
|
runs-on: ubuntu-latest
|
|
25
32
|
steps:
|
|
26
|
-
- uses: actions/checkout@
|
|
27
|
-
-
|
|
33
|
+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
34
|
+
- name: Setup Socket Dev
|
|
35
|
+
uses: SocketDev/action@2d3f25590c6ed6ba11a9a14c064d962a3a04698f # v1.3.1
|
|
36
|
+
with:
|
|
37
|
+
mode: firewall-free
|
|
38
|
+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
|
28
39
|
with:
|
|
29
|
-
node-version: 24
|
|
30
|
-
|
|
31
|
-
|
|
40
|
+
node-version: 24.16
|
|
41
|
+
- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
|
|
42
|
+
id: node-modules-cache
|
|
32
43
|
with:
|
|
33
44
|
path: '**/node_modules'
|
|
34
|
-
key: node_modules-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
|
|
35
|
-
-
|
|
45
|
+
key: node_modules-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('**/package-lock.json') }}
|
|
46
|
+
- name: Install dependencies on cache miss
|
|
47
|
+
if: steps.node-modules-cache.outputs.cache-hit != 'true'
|
|
48
|
+
run: sfw --verbose npm ci
|
|
36
49
|
- run: npm run test
|
|
50
|
+
|
|
37
51
|
lint:
|
|
38
52
|
name: Lint
|
|
39
53
|
runs-on: ubuntu-latest
|
|
40
54
|
steps:
|
|
41
|
-
- uses: actions/checkout@
|
|
42
|
-
-
|
|
55
|
+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
56
|
+
- name: Setup Socket Dev
|
|
57
|
+
uses: SocketDev/action@2d3f25590c6ed6ba11a9a14c064d962a3a04698f # v1.3.1
|
|
58
|
+
with:
|
|
59
|
+
mode: firewall-free
|
|
60
|
+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
|
43
61
|
with:
|
|
44
|
-
node-version: 24
|
|
45
|
-
|
|
46
|
-
|
|
62
|
+
node-version: 24.16
|
|
63
|
+
- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
|
|
64
|
+
id: node-modules-cache
|
|
47
65
|
with:
|
|
48
66
|
path: '**/node_modules'
|
|
49
|
-
key: node_modules-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
|
|
50
|
-
-
|
|
67
|
+
key: node_modules-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('**/package-lock.json') }}
|
|
68
|
+
- name: Install dependencies on cache miss
|
|
69
|
+
if: steps.node-modules-cache.outputs.cache-hit != 'true'
|
|
70
|
+
run: sfw --verbose npm ci
|
|
51
71
|
- run: npm run lint
|
|
72
|
+
|
|
52
73
|
audit:
|
|
53
74
|
name: Audit
|
|
54
75
|
runs-on: ubuntu-latest
|
|
55
76
|
steps:
|
|
56
|
-
- uses: actions/checkout@
|
|
57
|
-
- uses: actions/setup-node@
|
|
77
|
+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
78
|
+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
|
58
79
|
with:
|
|
59
|
-
node-version: 24
|
|
60
|
-
|
|
61
|
-
- run: npm audit --omit=dev
|
|
80
|
+
node-version: 24.16
|
|
81
|
+
- run: npm audit --omit dev
|
|
@@ -11,18 +11,18 @@ jobs:
|
|
|
11
11
|
runs-on: ubuntu-latest
|
|
12
12
|
steps:
|
|
13
13
|
- name: "Checkout source code"
|
|
14
|
-
uses:
|
|
15
|
-
- name:
|
|
16
|
-
uses:
|
|
14
|
+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
15
|
+
- name: Setup Socket Dev
|
|
16
|
+
uses: SocketDev/action@2d3f25590c6ed6ba11a9a14c064d962a3a04698f # v1.3.1
|
|
17
17
|
with:
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
mode: firewall-free
|
|
19
|
+
- name: "Setup Node"
|
|
20
|
+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
|
21
21
|
with:
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
node-version: 24.16
|
|
23
|
+
package-manager-cache: false
|
|
24
24
|
- name: Install
|
|
25
|
-
run: npm
|
|
25
|
+
run: sfw --verbose npm ci
|
|
26
26
|
- name: Build
|
|
27
27
|
run: npm run build
|
|
28
28
|
- name: Publish
|