File tree Expand file tree Collapse file tree 4 files changed +15
-3
lines changed Expand file tree Collapse file tree 4 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 54
54
aws-secret-access-key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
55
55
aws-region : us-east-1
56
56
- run : make deploy_dev
57
+ env :
58
+ HUSKY : " 0"
57
59
test :
58
60
runs-on : ubuntu-latest
59
61
name : Run Live Integration Tests
Original file line number Diff line number Diff line change 54
54
aws-secret-access-key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
55
55
aws-region : us-east-1
56
56
- run : make deploy_dev
57
+ env :
58
+ HUSKY : " 0"
57
59
test :
58
60
runs-on : ubuntu-latest
59
61
name : Run Live Integration Tests
@@ -106,6 +108,8 @@ jobs:
106
108
aws-secret-access-key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
107
109
aws-region : us-east-1
108
110
- run : make deploy_prod
111
+ env :
112
+ HUSKY : " 0"
109
113
health-check-prod :
110
114
runs-on : ubuntu-latest
111
115
name : Confirm services healthy
Original file line number Diff line number Diff line change
1
+ // Skip Husky install in production and CI
2
+ if ( process . env . NODE_ENV === 'production' || process . env . CI === 'true' ) {
3
+ process . exit ( 0 )
4
+ }
5
+ const husky = ( await import ( 'husky' ) ) . default
6
+ console . log ( husky ( ) )
Original file line number Diff line number Diff line change 15
15
"lint" : " eslint . --ext .ts --cache" ,
16
16
"prettier" : " prettier --check src/*.ts src/**/*.ts" ,
17
17
"prettier:write" : " prettier --write src/*.ts src/**/*.ts" ,
18
- "prepare" : " husky"
18
+ "prepare" : " node . husky/install.mjs || true "
19
19
},
20
20
"devDependencies" : {
21
21
"@tsconfig/node20" : " ^20.1.4" ,
33
33
"request" : " ^2.88.2" ,
34
34
"synp" : " ^1.9.13" ,
35
35
"tsx" : " ^4.16.5" ,
36
- "typescript" : " ^5.5.4"
36
+ "typescript" : " ^5.5.4" ,
37
+ "husky" : " ^9.1.4"
37
38
},
38
39
"dependencies" : {
39
40
"@aws-sdk/client-dynamodb" : " ^3.624.0" ,
44
45
"@fastify/cors" : " ^9.0.1" ,
45
46
"fastify" : " ^4.28.1" ,
46
47
"fastify-plugin" : " ^4.5.1" ,
47
- "husky" : " ^9.1.4" ,
48
48
"jsonwebtoken" : " ^9.0.2" ,
49
49
"jwks-rsa" : " ^3.1.0" ,
50
50
"moment-timezone" : " ^0.5.45" ,
You can’t perform that action at this time.
0 commit comments