Skip to content

fix(pi-herdr-rename): rename workspace on command (#175) #949

fix(pi-herdr-rename): rename workspace on command (#175)

fix(pi-herdr-rename): rename workspace on command (#175) #949

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
concurrency:
group: ci-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha || github.sha }}
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- name: Run tests
shell: bash
run: |
set +e
npm test 2>&1 | tee "$RUNNER_TEMP/npm-test.log"
status=${PIPESTATUS[0]}
if (( status != 0 )); then
{
echo "### Failed tests"
grep -E '^(not ok [0-9]+ - |# fail [1-9])' "$RUNNER_TEMP/npm-test.log" || echo "npm test failed before producing a test summary; see the full Run tests log."
} | tee -a "$GITHUB_STEP_SUMMARY"
fi
exit "$status"
- run: npm run typecheck
- run: npm run pack:check
- name: Require package version bumps
if: github.event_name == 'pull_request'
env:
BASE_SHA: ${{ github.event.pull_request.base.sha }}
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
run: node scripts/check-package-versions.mjs "$BASE_SHA" "$HEAD_SHA"