How to Test Core Styles Version Change - TACC/Core-CMS GitHub Wiki
Steps
- See how many stylesheets are built on
main
branch:
git checkout main
npm ci
npm run build --project=frontera-cms
find taccsite_cms/static/site_cms/css/build -type f | wc -l
- Clear CSS build output:
rm -rf taccsite_cms/static/site_cms/css/build
git restore taccsite_cms/static/site_cms/css/build/README.md
— ℹ️ this file is committed
- See how many stylesheets are built on the branch to test:
git checkout the/branch-to-test
npm ci
npm run build --project=frontera-cms
— ❗️ verify no error occurs
find taccsite_cms/static/site_cms/css/build -type f | wc -l
- Verify same number of files is output as before this PR.