Update Neo4j and APOC to 2026.07.1 #76
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: SCIP Index + jQAssistant TypeScript Code Example - Smoke Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| # Ignore changes in documentation, general configuration and reports for push events | |
| paths-ignore: | |
| - '**/*.md' | |
| - '**/*.txt' | |
| - '!requirements.txt' | |
| - '**/*.css' | |
| - '**/*.html' | |
| - '**/*.js' | |
| - '**/*.gv' | |
| - '**/*.svg' | |
| - '.gitignore' | |
| - '.gitattributes' | |
| - 'renovate.json' | |
| - 'renovate-presets/**' | |
| - 'changelogTemplate.mustache' | |
| - '**.code-workspace' | |
| - '.github/workflows/*.yml' | |
| - '!.github/workflows/internal-scip-jqassistant-typescript-code-example.yml' | |
| - 'domains/anomaly-detection/documentation/renderArchitecture.sh' | |
| - 'scripts/analysis/renderDocumentationGraphs.sh' | |
| pull_request: | |
| branches: | |
| - main | |
| # Ignore changes in documentation, general configuration and reports for pull request events | |
| paths-ignore: | |
| - '**/*.md' | |
| - '**/*.txt' | |
| - '!requirements.txt' | |
| - '**/*.css' | |
| - '**/*.html' | |
| - '**/*.js' | |
| - '**/*.gv' | |
| - '**/*.svg' | |
| - '.gitignore' | |
| - '.gitattributes' | |
| - 'renovate.json' | |
| - 'renovate-presets/**' | |
| - 'changelogTemplate.mustache' | |
| - '**.code-workspace' | |
| - '.github/workflows/*.yml' | |
| - '!.github/workflows/internal-scip-jqassistant-typescript-code-example.yml' | |
| - 'domains/anomaly-detection/documentation/renderArchitecture.sh' | |
| - 'scripts/analysis/renderDocumentationGraphs.sh' | |
| jobs: | |
| prepare-scip-index: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| analysis-name: ${{ steps.set-analysis-name.outputs.analysis-name }} | |
| indices-upload-name: ${{ steps.set-indices-upload-name.outputs.indices-upload-name }} | |
| source-repository-branch: ${{ env.REACT_ROUTER_VERSION }} | |
| env: | |
| PROJECT_NAME: react-router | |
| # Version variables below are covered by renovate.json configuration | |
| REACT_ROUTER_VERSION: 7.18.2 | |
| SCIP_VERSION: 0.9.0 | |
| steps: | |
| - name: (Prepare SCIP Index) Checkout GIT repository | |
| uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 | |
| - name: Set output variable 'analysis-name' | |
| id: set-analysis-name | |
| run: echo "analysis-name=${{ env.PROJECT_NAME }}-scip-${{ env.REACT_ROUTER_VERSION }}" >> "$GITHUB_OUTPUT" | |
| - name: Set source path variable | |
| run: echo "SOURCE_PATH=temp/${{ steps.set-analysis-name.outputs.analysis-name }}/source/${{ env.PROJECT_NAME }}-${{ env.REACT_ROUTER_VERSION }}" >> "$GITHUB_ENV" | |
| - name: Setup temp directory if missing | |
| run: mkdir -p ./temp | |
| - name: Setup Cache for "temp/downloads" folder | |
| uses: actions/cache@v6 | |
| with: | |
| path: ./temp/downloads | |
| key: | |
| ${{ runner.os }}-${{ hashFiles('**/*.sh') }} | |
| - name: Download react-router ${{ env.REACT_ROUTER_VERSION }} | |
| working-directory: temp | |
| run: | | |
| mkdir -p ${{ steps.set-analysis-name.outputs.analysis-name }} | |
| cd ${{ steps.set-analysis-name.outputs.analysis-name }} | |
| ./../../scripts/downloader/downloadReactRouter.sh ${{ env.REACT_ROUTER_VERSION }} | |
| - name: (Prepare SCIP Index) Detect node version file .nvmrc in react-router | |
| working-directory: ${{ env.SOURCE_PATH }} | |
| run: echo "nodeVersionFileDetected=$(if [ -f ".nvmrc" ]; then echo "true"; else echo "false"; fi)" >> $GITHUB_ENV | |
| - name: (Prepare SCIP Index) Setup Node.js with version in .nvmrc for react-router | |
| if: env.nodeVersionFileDetected == 'true' | |
| uses: actions/setup-node@v6.5.0 | |
| with: | |
| node-version-file: ${{ env.SOURCE_PATH }}/.nvmrc | |
| - name: (Prepare SCIP Index) Setup Node.js (long-term support version fallback, no .nvmrc) for react-router | |
| if: env.nodeVersionFileDetected != 'true' | |
| uses: actions/setup-node@v6.5.0 | |
| with: | |
| node-version: 'lts/*' | |
| - name: (Prepare SCIP Index) Setup pnpm for react-router | |
| uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10 | |
| with: | |
| package_json_file: ${{ env.SOURCE_PATH }}/package.json | |
| run_install: false | |
| - name: (Prepare SCIP Index) Install pnpm dependencies for react-router | |
| working-directory: ${{ env.SOURCE_PATH }} | |
| run: pnpm install --frozen-lockfile --strict-peer-dependencies | |
| - name: (Prepare SCIP Index) Install scip CLI | |
| run: ./domains/scip-index-import/installScipCli.sh | |
| - name: (Prepare SCIP Index) Generate SCIP index with scip-typescript using createScipIndexTypescript script | |
| run: | | |
| ./scripts/examples/createScipIndexTypescript.sh temp/${{ steps.set-analysis-name.outputs.analysis-name }}/source/react-router-${{ env.REACT_ROUTER_VERSION }} --pnpm-workspaces | |
| - name: (Prepare SCIP Index) Generate ARTIFACT_UPLOAD_ID | |
| run: echo "ARTIFACT_UPLOAD_ID=$(LC_ALL=C tr -dc 'A-Za-z0-9' < /dev/urandom | head -c 10)" >> $GITHUB_ENV | |
| - name: Set output variable 'indices-upload-name' | |
| id: set-indices-upload-name | |
| run: echo "indices-upload-name=${{ steps.set-analysis-name.outputs.analysis-name }}-scip-indices-${{ env.ARTIFACT_UPLOAD_ID }}" >> "$GITHUB_OUTPUT" | |
| - name: (Prepare SCIP Index) Upload SCIP JSON index as artifact | |
| if: success() | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7 | |
| with: | |
| name: ${{ steps.set-indices-upload-name.outputs.indices-upload-name }} | |
| path: ${{ env.SOURCE_PATH }}/index.scip.json | |
| analyze-code-graph: | |
| needs: [prepare-scip-index] | |
| uses: ./.github/workflows/public-analyze-code-graph.yml | |
| with: | |
| analysis-name: ${{ needs.prepare-scip-index.outputs.analysis-name }} | |
| indices-upload-name: ${{ needs.prepare-scip-index.outputs.indices-upload-name }} | |
| source-repository: https://github.com/remix-run/react-router.git | |
| source-repository-branch: react-router@${{ needs.prepare-scip-index.outputs.source-repository-branch }} | |
| run-all-domains: true | |
| # Test SCIP indices combined with jQAssistant scanning of TypeScript sources. | |
| # All domains and report types enabled for broadest smoke test coverage. | |
| analysis-arguments: "--report All" |