name: Test Deployment on: # Temporarily disabled automatic triggers; manual-only for now. workflow_dispatch: # Original trigger (restore to re-enable): # deployment_status: permissions: read-all jobs: e2eTests: # Temporarily disabled; set to the original condition to re-enable. # if: # github.repository == 'anuraghazra/github-readme-stats' && # github.event_name == 'deployment_status' && # github.event.deployment_status.state == 'success' if: false name: Perform e2e tests runs-on: ubuntu-latest strategy: matrix: node-version: [22.x] steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Setup Node uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 with: node-version: ${{ matrix.node-version }} cache: npm - name: Install dependencies run: npm ci env: CI: true - name: Run end-to-end tests. run: npm run test:e2e # env: # VERCEL_PREVIEW_URL: ${{ github.event.deployment_status.target_url }}