Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cb: updating circleci and package.json to allow CI of md files. #3037

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,19 @@ jobs:
command: npm run proof
- snyk/scan:
organization: uswds
lint_and_format:
executor: my-executor
parallelism: 2
steps:
- checkout
- attach_workspace:
at: ~/project
- run:
name: lint
command: npm run lint
- run:
name: format
command: npm run prettier:md
test_a11y_desktop:
executor: my-executor
parallelism: 2
Expand Down Expand Up @@ -129,6 +142,8 @@ jobs:
workflows:
circle-uswds-site:
jobs:
- lint_and_format:
name: Lint and format
- install_ruby_deps
- install_node_deps
- build:
Expand Down
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@ Gemfile.lock
.gitkeep
*.csv
*.html
*.md
*.min.js
3 changes: 0 additions & 3 deletions css/_uswds-theme-custom-styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
@import "custom-styles/graphic-list";
@import "custom-styles/posts";


// ========================================
// CUSTOM PROJECT SASS
// ----------------------------------------
Expand Down Expand Up @@ -1570,8 +1569,6 @@ iframe {
margin-bottom: units(4);
}



// Utilities CSS --------------------- //

.page-content {
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@
"pa11y-ci:sitemap": "pa11y-ci --sitemap http://localhost:4000/sitemap.xml --sitemap-exclude '/*.pdf|next|together/'",
"pa11y-ci:sitemap-mobile": "pa11y-ci --config .pa11yci--mobile --sitemap http://localhost:4000/sitemap.xml --sitemap-exclude '/*.pdf|next|together/'",
"pa11y-ci:sitemap-json": "pa11y-ci --json > pa11y-results.json --sitemap http://localhost:4000/sitemap.xml --sitemap-exclude '/*.pdf|next|together/'",
"prettier:scss": "npx prettier --write './css/**/*.scss'"
"prettier:scss": "npx prettier --write './css/**/*.scss'",
"prettier:md": "npx prettier --write './**/*.md'",
"prettier": "npm run prettier:md && npm run prettier:scss"
},
"devDependencies": {
"@18f/identity-stylelint-config": "^2.0.0",
Expand Down
Loading