Skip to content

Commit

Permalink
Chore: check format after generate list
Browse files Browse the repository at this point in the history
  • Loading branch information
Lruihao committed Jan 17, 2025
1 parent 1929f02 commit 2a34d83
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/fixit-component-list.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,17 @@ jobs:
# - name: Print Output
# id: output
# run: echo "${{ steps.test-action.outputs.repos }}"
- name: Setup Node.js
id: setup-node
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: npm
- name: Install Dependencies
id: install
run: npm ci
- name: Check Format
run: npm run format:write
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
Expand Down
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,16 +110,19 @@ The list of hugo-fixit components will be displayed here.
The list of hugo-fixit components will be displayed here.

<!-- FIXIT_COMPONENTS:START -->

- [fixit-bundle](https://github.com/hugo-fixit/fixit-bundle)\
🌲 Bundles the FixIt core theme and all hugo-fixit components into a single component.
🌲 Bundles the FixIt core theme and all hugo-fixit components into a single
component.
- [cmpt-flyfish](https://github.com/hugo-fixit/cmpt-flyfish)\
🐟 一个 canvas 实现的小鱼游动动画效果。
- [cmpt-mdevtools](https://github.com/hugo-fixit/cmpt-mdevtools)\
Mobile devtools component powered by vConsole and eruda.
- [cmpt-translate](https://github.com/hugo-fixit/cmpt-translate)\
🌐 A component for website automatic translation.
- [component-projects](https://github.com/hugo-fixit/component-projects)\
🐙 Display your GitHub projects in the FixIt theme and generate blog posts from README.
🐙 Display your GitHub projects in the FixIt theme and generate blog posts
from README.
- [hugo-atom-feed](https://github.com/hugo-fixit/hugo-atom-feed)\
Hugo theme component for ATOM feed custom Output Format.
- [hugo-json-feed](https://github.com/hugo-fixit/hugo-json-feed)\
Expand All @@ -129,9 +132,10 @@ The list of hugo-fixit components will be displayed here.
- [shortcode-caniuse](https://github.com/hugo-fixit/shortcode-caniuse)\
一个含有 caniuse shortcode 的 Hugo 主题组件。
- [shortcode-docs-bookmark](https://github.com/hugo-fixit/shortcode-docs-bookmark)\
🔖 Embed bookmark of FixIt Docs.
🔖
Embed bookmark of FixIt Docs.
- [shortcode-mmt-netease](https://github.com/hugo-fixit/shortcode-mmt-netease)\
🎶 一个含有网易云随机评论 shortcode 的 Hugo 主题组件。
- [shortcode-rewards](https://github.com/hugo-fixit/shortcode-rewards)\
A Hugo theme component with reward-log or sponsor-log shortcode.
A Hugo theme component with reward-log or sponsor-log shortcode.
<!-- FIXIT_COMPONENTS:END -->
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "*"
}
}
}

0 comments on commit 2a34d83

Please sign in to comment.