1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-02-21 07:42:33 +01:00

17 Commits

Author SHA1 Message Date
Trezy
a459915d52 build(commitlint): Add circleci-commitlint-step
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
2018-12-10 12:04:01 -06:00
Trezy
e5ab23884e build(commitlint): Remove semantic-commitlint
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
2018-12-10 11:57:30 -06:00
Trezy
9ac19dfb65 ci: run commitlint after installing dependencies
Oops.
2018-12-06 08:40:45 -06:00
Trezy
f4eb84a90d ci: allow build to run on all branches
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
2018-12-06 08:35:36 -06:00
Trezy
dff8743b4d ci(lint): allow commitlint to run as a parallel task in CI 2018-12-06 08:33:24 -06:00
Trezy
3ec9ab1976 ci: add commitlint
Add `commitlint` to enforce proper formatting for all commit messages

#13
2018-12-05 17:57:40 +09:00
Trezy
0f988b3f54 ci: Remove unnecessarily repository cloning
Repository cloning in the deploy step was 100% unnecessary.
2018-12-05 17:55:41 +09:00
Trezy
f426715dec ci: Restore cache restoration to the build 2018-12-05 17:55:40 +09:00
Trezy
2520af8afd ci: Remove strict host key checking for Github
By removing strict host key checking for Github, we shouldn't run into the issue where host
authenticity verification stalls the deployment.
2018-12-05 17:55:38 +09:00
Trezy
97f1aef706 ci: Remove caching (temporarily)
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.
2018-12-05 17:55:35 +09:00
Trezy
daa3fba424 ci: Build app in the non-root user's 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. 🤞
2018-12-05 17:55:31 +09:00
Trezy
6bcc66ad83 ci: Switch back to containers
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.
2018-12-05 17:55:28 +09:00
Trezy
76de2f14cf ci: Remove containers entirely
I've removed containers from tthe config entirely because I don't think we need them. Hopefully this
will fix the build. 🤷🏻‍♂️
2018-12-05 17:55:25 +09:00
Trezy
18c87a43c0 ci: Remove working directory declaration from CI config
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.
2018-12-05 17:55:22 +09:00
Trezy
96362f8bad ci: Switch to the CircleCI Node container
The Roll For Guild Node container doesn't include `git`, which is required by semantic-release.

#13
2018-12-05 17:55:19 +09:00
Trezy
879a805ffe ci: Add semantic-release
Add `semantic-release` to the repo and the build pipeline. This will handle automatically publishing
to npm based on commit messages.

#13
2018-12-05 17:55:13 +09:00
Trezy
8ad90aaf31 build(ci): Add CircleCI config
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.
2018-12-05 17:49:22 +09:00