Skip to content

How to Test Version Change

Wesley B edited this page Jul 23, 2022 · 2 revisions

Steps

  1. See how many stylesheets are built on main branch:
    1. git checkout main
    2. npm ci
    3. npm run build
    4. find dist -type f | wc -l
  2. Clear CSS build output:
    1. rm -rf dist
  3. See how many stylesheets are built on the branch to test:
    1. git checkout the/branch-to-test
    2. npm ci
    3. npm run build — ❗️ verify no error occurs
    4. find dist -type f | wc -l
  4. Verify change expected by relevant PR or test goal, e.g.
    • equal count files as before (if none were to change)
    • fewer files than before (if some were removed)
    • more files than before (if some were added)