- Checkout and pull the
develop
branch - Create a new branch based on the ticket you are working on
- Run
npm run watch
to generate a local version of Fractal to build in - Commit changed files and create a PR, ommitting any built files in /public or /dist directories
For documentation on patterning elements in Fractal, reference https://fractal.build/guide/.
Run npm run test
and select the spec files you need to test.
[TO DO] Create a GitHub Action to auto-run test files on pull requests.
Final manual acceptance testing requires release of the code to https://stag.vitamintalent.com. To release changes to staging, take these steps:
- Submit pull request review
- Merge accepted review to
develop
branch - Checkout
develop
branch and pull - Run
npm run build
- Copy built CSS (if applicable) file to /css/main.css
- Copy built JS (if applicable) to /js/pattern-library.js
- Move ticket to the "In Testing" column
[TO DO] Create a GitHub Action to auto deploy CSS and/or JS files to staging environment to eliminate steps 3-6.
Create a pull request from develop
to main
. GitHub Actions will automatically build and deploy the latest version of the pattern library to the gh_pages
branch. In dotCMS, push publish staging CSS and/or JS to production.
[TO DO] Instructions for pushing to artifactory and deploying to VT repo