ci-cd

  • Composer scripts are a task runner you already have

    Projects accumulate a README section listing the commands nobody remembers: the linter with its config path, the test suite with its flags, the cache clear that has to…

  • A Travis matrix catches the version you do not run locally

    A library that claims 5.3 compatibility is tested against whatever the author has installed, which is one version. The failures that reach users are the ones that version…

  • Replacing 30 script tags with a Grunt build

    Thirty-one requests before the page could do anything, most of them under 2 KB. Concatenation in a declared order, source maps, and cache busting that proxies respect.

  • A Gruntfile that fails the build on a lint error

    grunt jshint prints its warnings, the build goes green, and the lint errors accumulate — the worst of both worlds, because the check runs and nobody reads it.…