File tree Expand file tree Collapse file tree 1 file changed +17
-15
lines changed
Expand file tree Collapse file tree 1 file changed +17
-15
lines changed Original file line number Diff line number Diff line change @@ -80,18 +80,30 @@ jobs:
8080 directory : bucket-scanner
8181 flags : bucket-scanner
8282
83- lint-and-unit :
83+ lint :
84+ runs-on : ubuntu-latest
85+ steps :
86+ - name : Checkout
87+ uses : actions/checkout@v4
88+ - uses : actions/setup-node@v6
89+ with :
90+ node-version : ' 22'
91+ cache : yarn
92+ - name : Install node dependencies
93+ run : yarn install --ignore-engines --frozen-lockfile --network-concurrency 1
94+ - name : Lint markdown
95+ run : yarn run --silent lint_md
96+ - name : Lint Javascript
97+ run : yarn run --silent lint
98+
99+ unit :
84100 needs : build
85101 runs-on : ubuntu-latest
86102 services :
87103 redis :
88104 image : redis:alpine
89105 ports :
90106 - 6379:6379
91- syntheticbucketd :
92- image : ghcr.io/${{ github.repository }}/syntheticbucketd:${{ github.sha }}
93- ports :
94- - 9001:9001
95107 kafka :
96108 image : ghcr.io/${{ github.repository }}/ci-kafka:${{ github.sha }}
97109 credentials :
@@ -103,12 +115,6 @@ jobs:
103115 env :
104116 ADVERTISED_HOST : " localhost"
105117 ADVERTISED_PORT : 9092
106- mongo :
107- image : ghcr.io/${{ github.repository}}/ci-mongodb:${{ github.sha }}
108- ports :
109- - 27017:27017
110- - 27018:27018
111- - 27019:27019
112118 steps :
113119 - name : Checkout
114120 uses : actions/checkout@v4
@@ -118,10 +124,6 @@ jobs:
118124 cache : yarn
119125 - name : Install node dependencies
120126 run : yarn install --ignore-engines --frozen-lockfile --network-concurrency 1
121- - name : Lint markdown
122- run : yarn run --silent lint_md
123- - name : Lint Javascript
124- run : yarn run --silent lint
125127
126128 - name : Run unit tests
127129 run : yarn run cover
You can’t perform that action at this time.
0 commit comments