File tree Expand file tree Collapse file tree 3 files changed +3
-20
lines changed
Expand file tree Collapse file tree 3 files changed +3
-20
lines changed Original file line number Diff line number Diff line change @@ -181,23 +181,6 @@ jobs:
181181
182182 - run : npm run type:check
183183
184- rfc011-audit :
185- runs-on : ubuntu-latest
186-
187- timeout-minutes : 10
188-
189- steps :
190- - name : Checkout
191- uses : actions/checkout@v5
192-
193- - name : Setup project
194- uses : ./.github/actions/setup-project
195- with :
196- CACHE_VERSION : ${{ secrets.CACHE_VERSION }}
197-
198- - name : Run RFC 011 audit
199- run : node scripts/rfc011-audit.js
200-
201184 e2e :
202185 if : github.ref_name != 'i18n/crowdin'
203186 needs : build
Original file line number Diff line number Diff line change 148148 "@radix-ui/react-focus-scope" : " ^1.0.4"
149149 },
150150 "scripts" : {
151- "rfc011-audit" : " node scripts/rfc011-audit.js" ,
152151 "build" : " npm-run-all build:updates build:next build:server" ,
153152 "build:e2e" : " cross-env NODE_ENV=development OC_ENV=e2e npm run build" ,
154153 "build:clean" : " shx rm -rf dist .next" ,
168167 "dev" : " node server" ,
169168 "docs:generate:contribution-flow" : " tsx ./scripts/docs/contribution-flow.js" ,
170169 "git:clean" : " cross-env ./scripts/git_clean.sh" ,
170+ "graphql:audit" : " node scripts/graphql-audit.js" ,
171171 "graphql:codegen" : " graphql-codegen --config scripts/config/graphql-codegen.ts" ,
172172 "graphql:get-schema" : " npm-run-all graphql:updateV1 graphql:updateV2" ,
173173 "graphql:update" : " npm-run-all graphql:updateV1 graphql:updateV2 graphql:codegen" ,
Original file line number Diff line number Diff line change 11// RFC 011 audit script for GraphQL best practices
2- // Usage: node scripts/rfc011 -audit.js [-o] [-v] [-h]
2+ // Usage: node scripts/graphql -audit.js [-o] [-v] [-h]
33
44const fs = require ( 'fs' ) ;
55const path = require ( 'path' ) ;
@@ -159,7 +159,7 @@ function auditFile(file) {
159159
160160// --- Run audit ---
161161walk ( SRC_DIR ) . forEach ( auditFile ) ;
162- console . log ( 'RFC 011 audit complete.' ) ;
162+ console . log ( 'GraphQL audit complete.' ) ;
163163if ( errorCount > 0 ) {
164164 process . exit ( 1 ) ;
165165}
You can’t perform that action at this time.
0 commit comments