Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/snippets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ jobs:
- name: Check contract registry
run: pnpm run check:contract-registry

- name: Check compatibility matrix
run: pnpm run check:compatibility-matrix

- name: Check redirects and anchors
env:
DOCS_DIFF_BASE: ${{ github.event.pull_request.base.sha || github.event.before }}
Expand All @@ -90,6 +93,9 @@ jobs:
- name: Test redirects and anchors check
run: pnpm run test:redirects-and-anchors

- name: Test compatibility matrix (regression fixtures)
run: pnpm run test:compatibility-matrix

check-snippets-extended:
name: Compile Rust / Python / shell / config snippets
runs-on: ubuntu-latest
Expand Down Expand Up @@ -270,6 +276,14 @@ jobs:
- name: Run preview redirect unit tests
run: pnpm run test:preview-redirect

# The live preview check needs a deployed Mintlify preview. It is only
# required when that URL is actually supplied — without one there is
# nothing to verify, and the unit tests above already cover the
# redirect logic.
- name: Verify live preview redirect
if: ${{ env.MINTLIFY_PREVIEW_URL != '' }}
run: node scripts/check-preview-redirect.mjs


playground-smoke:
name: Playground smoke test
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"check:compatibility-matrix": "node scripts/check-compatibility-matrix.mjs",
"check:redirects-and-anchors": "node scripts/check-redirects-and-anchors.mjs",
"test:redirects-and-anchors": "node --test scripts/check-redirects-and-anchors.test.mjs",
"test:compatibility-matrix": "node --test scripts/check-compatibility-matrix.test.mjs",
"test:contract-registry": "node --test scripts/check-contract-registry.test.mjs",
"test:preview-redirect": "node --test scripts/check-preview-redirect.test.mjs",
"check:stellar-testnet": "tsx scripts/check-stellar-testnet-snippets.ts",
Expand All @@ -26,7 +27,7 @@
"test:playground": "playwright test --config scripts/playground/tests/playwright.config.ts",
"mint:validate": "mint validate",
"mint:broken-links": "mint broken-links",
"test": "npm run check:snippets && npm run check:integration-guides && npm run check:nav-coverage && npm run check:contract-registry && npm run check:compatibility-matrix && npm run test:redirects-and-anchors"
"test": "npm run check:snippets && npm run check:integration-guides && npm run check:nav-coverage && npm run check:contract-registry && npm run check:compatibility-matrix && npm run test:redirects-and-anchors && npm run test:compatibility-matrix"
},
"dependencies": {
"@solana/web3.js": "^1.99.0",
Expand Down
Loading
Loading