Skip to content
Merged
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
23 changes: 5 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,22 +48,9 @@ jobs:
exit 1
fi

- name: Run package verification
run: |
set -euo pipefail
- name: Install dependencies
if: hashFiles('package-lock.json') != ''
run: npm ci

if [ ! -f package.json ]; then
echo "No package.json found; skipping Node checks."
exit 0
fi

npm ci
if node -e "process.exit(require('./package.json').scripts?.['release:check'] ? 0 : 1)"; then
npm run release:check
else
npm run check --if-present
npm test --if-present
npm run build --if-present
npm run smoke --if-present
npm run package:smoke --if-present
fi
- name: Run repository validation
run: bash scripts/validate.sh
Loading