Skip to content

Conversation

@Digital-Security-Brokerage

No description provided.

alexgleason and others added 30 commits November 30, 2018 11:57
This adds a CircleCI config file based on the same config I use for my own website. It makes it easy
to have multiple steps running in parallel, such as running tests and coverage reports.
Forcing contributors to use Commitizen to format their commit messages will make our lives much
simpler, especially once we've added `semantic-release`.
Add `semantic-release` to the repo and the build pipeline. This will handle automatically publishing
to npm based on commit messages.

#13
The Roll For Guild Node container doesn't include `git`, which is required by semantic-release.

#13
I got a bunch of permission errors last time I tried to build in ~/app. I'm pretty sure building in
the default directory should work just as well.
I've removed containers from tthe config entirely because I don't think we need them. Hopefully this
will fix the build. 🤷🏻‍♂️
Switching back to container because I have no idea how to fix the errors that came up without them.
Additionally, I'm changing the working directory to `~/tmp` to see if that works better than the
`~/app` folder.
I think the issue was that the app was being built into the root user's home directory rather than
the `circleci` user's home directory. 🤞
I finally figured it out. Restoring the cache was trying to restore the cache from an older build
that used a different image in which the root user was the one doing all the tasks. I'm pushing a
build that doesn't restore the cache, then I'll add those steps back in after the next build.
By removing strict host key checking for Github, we shouldn't run into the issue where host
authenticity verification stalls the deployment.
Repository cloning in the deploy step was 100% unnecessary.
Add `commitlint` to enforce proper formatting for all commit messages

#13
feat(breaking): remove google font import
Since we don't have any tests yet, we want to make sure the build runs successfully on all branches.
That way we can at least verify that the build works correctly.

closes #13
guastallaigor and others added 27 commits December 10, 2018 12:53
fix(style.css): fix margin and padding of body
This removes `semantic-commitlint` from both the local build pipeline and the CI build pipeline. The
original value of `semantic-commitlint` was that it would handle linting only the relevant commits,
i.e. the commit range under review for a PR. However, the library doesn't seem to respect our
altered `commitlint` rules, so we'll be switching to an alternate strategy to handle linting of
specific ranges.

#13
I've added `circleci-commitlint-step` because it *should* handle linting of the appropriate
commitlint ranges via a specialized Docker container for CircleCI with a commit range.

#13
I've added hot reloading to Storybook. This means that during development, all we have to do is run
Storybook. As we make changes to the SCSS files, the changes will automatically be reflected in
Storybook. 😁
This adds all files in the repo that aren't essential to the operation of the package to the
`.npmignore`. This will ensure that things like the `.storybook` directory don't get downloaded
everytime somebody adds NES.css to their project.
@abdallahalsamman
Copy link
Member

abdallahalsamman commented Dec 15, 2018

Hey @Digital-Security-Brokerage we already have storybook hot reloading,

Our main branch is develop and not master which might have tricked you into thinking we don't have hot reloading.

Thanks for the PR anyways. 🙇🏻‍♂️

We'd like to see more PRs from you 😍

@BcRikko BcRikko deleted the add-hot-reload-to-storybook branch December 18, 2018 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.