File tree 1 file changed +20
-1
lines changed
1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change 17
17
run : npm ci
18
18
- name : Lint javascript
19
19
run : npm run lint
20
+ audit_dependencies :
21
+ runs-on : ubuntu-latest
22
+ steps :
23
+ - name : Code checkout
24
+ uses : actions/checkout@v4
25
+ - name : Install node
26
+ uses : actions/setup-node@v4
27
+ with :
28
+ node-version-file : " .nvmrc"
29
+ cache : ' npm'
30
+ - name : Install node dependencies
31
+ run : npm ci
32
+ - name : Validate npm package signatures
33
+ run : npm audit signatures
20
34
test :
21
- needs : lint
35
+ needs :
36
+ - lint
37
+ - audit_dependencies
22
38
runs-on : ubuntu-latest
23
39
# Start Postgres as a service, wait until healthy. Uses latest Postgres version.
24
40
services :
50
66
deploy_dev :
51
67
needs :
52
68
- lint
69
+ - audit_dependencies
53
70
- test
54
71
if : github.ref == 'refs/heads/develop'
55
72
uses : 18F/analytics-reporter-api/.github/workflows/deploy.yml@develop
67
84
deploy_stg :
68
85
needs :
69
86
- lint
87
+ - audit_dependencies
70
88
- test
71
89
if : github.ref == 'refs/heads/staging'
72
90
uses : 18F/analytics-reporter-api/.github/workflows/deploy.yml@develop
84
102
deploy_prd :
85
103
needs :
86
104
- lint
105
+ - audit_dependencies
87
106
- test
88
107
if : github.ref == 'refs/heads/master'
89
108
uses : 18F/analytics-reporter-api/.github/workflows/deploy.yml@develop
You can’t perform that action at this time.
0 commit comments