Skip to content

Commit 768823b

Browse files
committed
graphql audit cleanup
1 parent fb65e96 commit 768823b

File tree

3 files changed

+3
-20
lines changed

3 files changed

+3
-20
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff 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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@
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",
@@ -168,6 +167,7 @@
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",
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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

44
const fs = require('fs');
55
const path = require('path');
@@ -159,7 +159,7 @@ function auditFile(file) {
159159

160160
// --- Run audit ---
161161
walk(SRC_DIR).forEach(auditFile);
162-
console.log('RFC 011 audit complete.');
162+
console.log('GraphQL audit complete.');
163163
if (errorCount > 0) {
164164
process.exit(1);
165165
}

0 commit comments

Comments
 (0)