Skip to content

Commit

Permalink
chore(specs): remove JSON specs and new worlds logic (#2794)
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcuts committed Feb 27, 2024
1 parent a064bf6 commit 6f0b00e
Show file tree
Hide file tree
Showing 15 changed files with 0 additions and 130,338 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -440,12 +440,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.ALGOLIA_BOT_TOKEN }}

- name: Push specs to new worlds documentation
if: github.ref == 'refs/heads/main'
run: yarn workspace scripts pushSpecsToNewWorldDocs
env:
GITHUB_TOKEN: ${{ secrets.ALGOLIA_BOT_TOKEN }}

- name: Set output
id: setoutput
run: echo "success=true" >> "$GITHUB_OUTPUT"
Expand Down
3 changes: 0 additions & 3 deletions scripts/buildSpecs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,6 @@ async function buildSpec(spec: string, outputFormat: string, useCache: boolean):
if (!isAlgoliasearch) {
spinner.text = `linting '${spec}' doc spec`;
await run(`yarn specs:fix bundled/${spec}.doc.yml`);
await run(
`yarn openapi bundle specs/bundled/${spec}.doc.yml --output specs/bundled/${spec}.json --format json --ext json --dereferenced`,
);
}

if (useCache) {
Expand Down
86 changes: 0 additions & 86 deletions scripts/ci/codegen/pushSpecsToNewWorldDocs.ts

This file was deleted.

1 change: 0 additions & 1 deletion scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"lint:deadcode": "knip",
"pre-commit": "node ./ci/husky/pre-commit.mjs",
"pushGeneratedCode": "NODE_NO_WARNINGS=1 node dist/scripts/ci/codegen/pushGeneratedCode.js",
"pushSpecsToNewWorldDocs": "NODE_NO_WARNINGS=1 node dist/scripts/ci/codegen/pushSpecsToNewWorldDocs.js",
"setRunVariables": "NODE_NO_WARNINGS=1 node dist/scripts/ci/githubActions/setRunVariables.js",
"spreadGeneration": "NODE_NO_WARNINGS=1 node dist/scripts/ci/codegen/spreadGeneration.js",
"start": "NODE_NO_WARNINGS=1 node dist/scripts/cli/index.js",
Expand Down
Loading

0 comments on commit 6f0b00e

Please sign in to comment.