Skip to content

chore(deps-dev): bump the dev-dependencies group across 1 directory with 8 updates #17

chore(deps-dev): bump the dev-dependencies group across 1 directory with 8 updates

chore(deps-dev): bump the dev-dependencies group across 1 directory with 8 updates #17

Workflow file for this run

name: PR Validation
on:
pull_request:
types: [opened, synchronize, reopened]
concurrency:
group: pr-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Use Node.js 22.x
uses: actions/setup-node@v6
with:
node-version: 22.x
cache: npm
- name: Install dependencies
run: npm ci
- name: Type check
run: npm run type-check
- name: Lint
run: npm run lint
- name: Tests
run: npm test
- name: Build
run: npm run build
- name: Check for TODO comments
run: |
TODOS=$(grep -rn "TODO\|FIXME\|HACK\|XXX" src/ --include="*.ts" || true)
if [ -n "$TODOS" ]; then
echo "::warning::Found TODO comments:"
echo "$TODOS"
fi
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Use Node.js 22.x
uses: actions/setup-node@v6
with:
node-version: 22.x
cache: npm
- name: Install dependencies
run: npm ci
- name: Security audit
run: npm audit --audit-level=high || true
size-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Use Node.js 22.x
uses: actions/setup-node@v6
with:
node-version: 22.x
cache: npm
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Report bundle size
run: |
echo "## Bundle Size" >> $GITHUB_STEP_SUMMARY
echo "| File | Size |" >> $GITHUB_STEP_SUMMARY
echo "|------|------|" >> $GITHUB_STEP_SUMMARY
for f in dist/index.js dist/index.cjs dist/client.js dist/client.cjs; do
if [ -f "$f" ]; then
SIZE=$(wc -c < "$f" | tr -d ' ')
echo "| $(basename $f) | ${SIZE}B |" >> $GITHUB_STEP_SUMMARY
fi
done