Skip to content

fix: skip share prompt when analysis parsing fails #113

fix: skip share prompt when analysis parsing fails

fix: skip share prompt when analysis parsing fails #113

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test-matrix:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20, 22]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Type check
run: npm run typecheck
- name: Run tests
run: npm test
- name: Build
run: npm run build
# Completion gate — required by branch protection (matrix jobs expand to
# "test-matrix (18)" etc., which don't match the required check name "test").
test:
needs: [test-matrix]
if: always()
runs-on: ubuntu-latest
steps:
- name: Check matrix results
run: |
if [ "${{ needs.test-matrix.result }}" != "success" ]; then
echo "Matrix jobs failed or were cancelled"
exit 1
fi