Ship Pr

Run the project checks and open a pull request once they pass

zernie 28a2189 2 files · 2.4 KB Updated

File contents

Arguments

  • $1 branch — the branch to open the PR from
  • $2 title (optional) — PR title

Steps

Step 1

Run the linter and fix any issues it reports.

Gate — run npm run lint; do not proceed until it passes.

Step 2

Run the test suite. Fix failures and re-run until it is green.

Gate — run npm test (retry up to 3×); do not proceed until it passes.

Step 3

Open the pull request from $1 with title $2 (if provided).

Result

This skill is complete when npm test passes.

zernie/vigiles/tree/main/examples/ship-pr commit 28a218902f

Frequently asked questions

npx skillmds add zernie/ship-pr