Skip to content

Commit

Permalink
chore: update lint.yml, test.yml, lint-staged.config.js (#166)
Browse files Browse the repository at this point in the history
synced local file(s) with
[lumirlumir/lumirlumir-configs](https://github.com/lumirlumir/lumirlumir-configs).

check out
[`f74c687`](lumirlumir/lumirlumir-configs@f74c687)
@lumirlumir 🐣.

<details>
<summary>Changed files</summary>
<ul>
<li>synced local <code>./.github/workflows/lint.yml</code> with remote
<code>./configs/.github/workflows/lint.yml</code></li><li>synced local
<code>./.github/workflows/test.yml</code> with remote
<code>./configs/.github/workflows/test.yml</code></li><li>synced local
<code>./lint-staged.config.js</code> with remote
<code>./configs/lint-staged.config.js</code></li>
</ul>
</details>

---

This PR was created automatically by the
[repo-file-sync-action](https://github.com/BetaHuhn/repo-file-sync-action)
workflow run
[#12723229250](https://github.com/lumirlumir/lumirlumir-configs/actions/runs/12723229250)
  • Loading branch information
lumirlumir authored Jan 11, 2025
1 parent 4f9db5e commit 0369cf4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,8 @@ jobs:
- name: Set up node_modules
run: npm ci

- name: Build
run: npm run build --if-present

- name: Lint
run: npm run lint
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Set up node_modules
run: npm ci

- name: Build test
- name: Build
run: npm run build --if-present

- name: Test and test coverage
Expand Down
2 changes: 1 addition & 1 deletion lint-staged.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ module.exports = {
'npx prettier --check',
'npx editorconfig-checker -config .editorconfig-checker.json',
],
'*.js': 'npx eslint',
'*.{js,mjs,cjs,jsx}': 'npx eslint',
'*.md': ['npx markdownlint', 'npx textlint -f pretty-error'],
};

0 comments on commit 0369cf4

Please sign in to comment.