Skip to content

How to Test Core Styles Version Change

Wesley B edited this page Jun 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 --project=frontera-cms
    4. find taccsite_cms/static/site_cms/css/build -type f | wc -l
  2. Clear CSS build output:
    1. rm -rf taccsite_cms/static/site_cms/css/build
    2. git restore taccsite_cms/static/site_cms/css/build/README.md — ℹ️ this file is committed
  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 --project=frontera-cms — ❗️ verify no error occurs
    4. find taccsite_cms/static/site_cms/css/build -type f | wc -l
  4. Verify same number of files is output as before this PR.