declapract-typescript-ehmpathy 0.39.3 → 0.39.5
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/dist/practices/cicd-common/best-practice/.github/workflows/.install.yml +1 -1
- package/dist/practices/cicd-common/best-practice/.github/workflows/.test.yml +7 -7
- package/dist/practices/cicd-common/best-practice/.github/workflows/release.yml +1 -1
- package/dist/practices/cicd-package/best-practice/.github/workflows/.publish-npm.yml +1 -1
- package/dist/practices/cicd-service/best-practice/.github/workflows/.deploy-sls.yml +3 -3
- package/dist/practices/cicd-service/best-practice/.github/workflows/.sql-schema-control.yml +2 -2
- package/dist/practices/tests/best-practice/jest.acceptance.env.ts +1 -2
- package/dist/practices/tests/best-practice/jest.integration.env.ts +1 -2
- package/package.json +1 -1
|
@@ -26,7 +26,7 @@ jobs:
|
|
|
26
26
|
|
|
27
27
|
# run tests in parallel
|
|
28
28
|
test-commits:
|
|
29
|
-
runs-on: ubuntu-
|
|
29
|
+
runs-on: ubuntu-24.04
|
|
30
30
|
needs: [install]
|
|
31
31
|
steps:
|
|
32
32
|
- name: checkout
|
|
@@ -49,7 +49,7 @@ jobs:
|
|
|
49
49
|
run: npm run test:commits
|
|
50
50
|
|
|
51
51
|
test-types:
|
|
52
|
-
runs-on: ubuntu-
|
|
52
|
+
runs-on: ubuntu-24.04
|
|
53
53
|
needs: [install]
|
|
54
54
|
steps:
|
|
55
55
|
- name: checkout
|
|
@@ -70,7 +70,7 @@ jobs:
|
|
|
70
70
|
run: npm run test:types
|
|
71
71
|
|
|
72
72
|
test-format:
|
|
73
|
-
runs-on: ubuntu-
|
|
73
|
+
runs-on: ubuntu-24.04
|
|
74
74
|
needs: [install]
|
|
75
75
|
steps:
|
|
76
76
|
- name: checkout
|
|
@@ -94,7 +94,7 @@ jobs:
|
|
|
94
94
|
run: npm run test:format
|
|
95
95
|
|
|
96
96
|
test-lint:
|
|
97
|
-
runs-on: ubuntu-
|
|
97
|
+
runs-on: ubuntu-24.04
|
|
98
98
|
needs: [install]
|
|
99
99
|
steps:
|
|
100
100
|
- name: checkout
|
|
@@ -115,7 +115,7 @@ jobs:
|
|
|
115
115
|
run: npm run test:lint
|
|
116
116
|
|
|
117
117
|
test-unit:
|
|
118
|
-
runs-on: ubuntu-
|
|
118
|
+
runs-on: ubuntu-24.04
|
|
119
119
|
needs: [install]
|
|
120
120
|
steps:
|
|
121
121
|
- name: checkout
|
|
@@ -136,7 +136,7 @@ jobs:
|
|
|
136
136
|
run: THOROUGH=true npm run test:unit
|
|
137
137
|
|
|
138
138
|
test-integration:
|
|
139
|
-
runs-on: ubuntu-
|
|
139
|
+
runs-on: ubuntu-24.04
|
|
140
140
|
needs: [install]
|
|
141
141
|
steps:
|
|
142
142
|
- name: checkout
|
|
@@ -176,7 +176,7 @@ jobs:
|
|
|
176
176
|
run: THOROUGH=true npm run test:integration
|
|
177
177
|
|
|
178
178
|
test-acceptance-locally:
|
|
179
|
-
runs-on: ubuntu-
|
|
179
|
+
runs-on: ubuntu-24.04
|
|
180
180
|
needs: [install]
|
|
181
181
|
steps:
|
|
182
182
|
- name: checkout
|
|
@@ -43,7 +43,7 @@ jobs:
|
|
|
43
43
|
uses: ./.github/workflows/.install.yml
|
|
44
44
|
|
|
45
45
|
deploy:
|
|
46
|
-
runs-on: ubuntu-
|
|
46
|
+
runs-on: ubuntu-24.04
|
|
47
47
|
needs: [install]
|
|
48
48
|
steps:
|
|
49
49
|
- name: checkout
|
|
@@ -83,7 +83,7 @@ jobs:
|
|
|
83
83
|
run: STAGE=${{ inputs.stage }} DEPLOYER_NAME=$GITHUB_ACTOR npm run deploy
|
|
84
84
|
|
|
85
85
|
assure:
|
|
86
|
-
runs-on: ubuntu-
|
|
86
|
+
runs-on: ubuntu-24.04
|
|
87
87
|
needs: [install, deploy]
|
|
88
88
|
steps:
|
|
89
89
|
- name: checkout
|
|
@@ -156,7 +156,7 @@ jobs:
|
|
|
156
156
|
pagerduty-dedup-key: github_workflow_failed
|
|
157
157
|
|
|
158
158
|
prune:
|
|
159
|
-
runs-on: ubuntu-
|
|
159
|
+
runs-on: ubuntu-24.04
|
|
160
160
|
needs: [install, deploy]
|
|
161
161
|
steps:
|
|
162
162
|
- name: checkout
|
|
@@ -36,7 +36,7 @@ jobs:
|
|
|
36
36
|
uses: ./.github/workflows/.install.yml
|
|
37
37
|
|
|
38
38
|
plan:
|
|
39
|
-
runs-on: ubuntu-
|
|
39
|
+
runs-on: ubuntu-24.04
|
|
40
40
|
needs: [install]
|
|
41
41
|
outputs:
|
|
42
42
|
has-changes-planned: ${{ steps.evaluate-plan.outputs.has-changes-planned }}
|
|
@@ -120,7 +120,7 @@ jobs:
|
|
|
120
120
|
run: sudo killall openvpn
|
|
121
121
|
|
|
122
122
|
apply:
|
|
123
|
-
runs-on: ubuntu-
|
|
123
|
+
runs-on: ubuntu-24.04
|
|
124
124
|
environment: ${{ inputs.github-environment }}
|
|
125
125
|
needs: [install, plan]
|
|
126
126
|
if: ${{ inputs.allow-apply == true && needs.plan.outputs.has-changes-planned == 'true' }}
|
|
@@ -7,8 +7,7 @@ jest.setTimeout(90000); // we're calling downstream apis
|
|
|
7
7
|
* - prevent time wasted waiting on tests to fail due to lack of credentials
|
|
8
8
|
* - prevent time wasted debugging tests which are failing due to hard-to-read missed credential errors
|
|
9
9
|
*/
|
|
10
|
-
|
|
11
|
-
if (!isAuthed)
|
|
10
|
+
if (!(process.env.AWS_PROFILE || process.env.AWS_ACCESS_KEY_ID))
|
|
12
11
|
throw new Error(
|
|
13
12
|
'no aws credentials present. please authenticate with aws to run acceptance tests',
|
|
14
13
|
);
|
|
@@ -20,8 +20,7 @@ if (
|
|
|
20
20
|
* - prevent time wasted waiting on tests to fail due to lack of credentials
|
|
21
21
|
* - prevent time wasted debugging tests which are failing due to hard-to-read missed credential errors
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
if (!isAuthed)
|
|
23
|
+
if (!(process.env.AWS_PROFILE || process.env.AWS_ACCESS_KEY_ID))
|
|
25
24
|
throw new Error(
|
|
26
25
|
'no aws credentials present. please authenticate with aws to run integration tests',
|
|
27
26
|
);
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "declapract-typescript-ehmpathy",
|
|
3
3
|
"author": "ehmpathy",
|
|
4
4
|
"description": "declapract best practices declarations for typescript",
|
|
5
|
-
"version": "0.39.
|
|
5
|
+
"version": "0.39.5",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "src/index.js",
|
|
8
8
|
"repository": "ehmpathy/declapract-typescript-ehmpathy",
|