Compare commits
16 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
1aea1ba3b1
|
|||
|
d674506e49
|
|||
|
8cf0be7fff
|
|||
|
e5ceb46096
|
|||
|
28eb7c2971
|
|||
|
3abc837f78
|
|||
| 1df4a4248c | |||
| 2a4928efe1 | |||
| 065bdde05d | |||
| 26a3dacde8 | |||
| 11576b5c40 | |||
| 7f1ea2b452 | |||
| 56dd6822ff | |||
| 6345c28950 | |||
| 6fc5d6253f | |||
| f96bfc2f7b |
@@ -9,10 +9,10 @@ jobs:
|
|||||||
name: pre-commit Linting
|
name: pre-commit Linting
|
||||||
runs-on: pi
|
runs-on: pi
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
||||||
- uses: actions/setup-python@v6
|
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
|
||||||
- run: pip install pre-commit
|
- run: pip install pre-commit
|
||||||
shell: bash
|
shell: bash
|
||||||
- name: Pre Commit
|
- name: Pre Commit
|
||||||
run: SKIP=no-commit-to-branch pre-commit run -a
|
run: SKIP=no-commit-to-branch pre-commit run -a --hook-stage pre-commit --hook-stage manual
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
@@ -9,8 +9,8 @@ jobs:
|
|||||||
name: Run Tests
|
name: Run Tests
|
||||||
runs-on: pi
|
runs-on: pi
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
||||||
- uses: actions/setup-node@v6
|
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
|
||||||
with:
|
with:
|
||||||
node-version: '24'
|
node-version: '24'
|
||||||
- run: npm install
|
- run: npm install
|
||||||
|
|||||||
+23
-2
@@ -1,3 +1,4 @@
|
|||||||
|
default_stages: [pre-commit, manual]
|
||||||
exclude: ^(dist|node_modules)/
|
exclude: ^(dist|node_modules)/
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
@@ -15,6 +16,7 @@ repos:
|
|||||||
args: [--autofix, --no-sort-keys, --no-ensure-ascii]
|
args: [--autofix, --no-sort-keys, --no-ensure-ascii]
|
||||||
- id: check-merge-conflict
|
- id: check-merge-conflict
|
||||||
- id: no-commit-to-branch
|
- id: no-commit-to-branch
|
||||||
|
stages: [pre-commit]
|
||||||
|
|
||||||
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
|
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
|
||||||
rev: v2.16.0
|
rev: v2.16.0
|
||||||
@@ -29,18 +31,37 @@ repos:
|
|||||||
types_or: [css, javascript]
|
types_or: [css, javascript]
|
||||||
|
|
||||||
- repo: https://github.com/python-jsonschema/check-jsonschema
|
- repo: https://github.com/python-jsonschema/check-jsonschema
|
||||||
rev: 0.37.0
|
rev: 0.37.2
|
||||||
hooks:
|
hooks:
|
||||||
- id: check-renovate
|
- id: check-renovate
|
||||||
- id: check-github-actions
|
- id: check-github-actions
|
||||||
|
stages: [manual]
|
||||||
- id: check-github-workflows
|
- id: check-github-workflows
|
||||||
|
stages: [manual]
|
||||||
|
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v6.0.0
|
rev: v6.0.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
exclude: (.txt$|.ipynb$|README.md$|readme.mde$)
|
exclude: (.txt$|.ipynb$|README.md$)
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
exclude: (.txt$|README.md$)
|
exclude: (.txt$|README.md$)
|
||||||
- id: mixed-line-ending
|
- id: mixed-line-ending
|
||||||
args: [--fix=lf]
|
args: [--fix=lf]
|
||||||
|
|
||||||
|
- repo: local
|
||||||
|
hooks:
|
||||||
|
- id: build
|
||||||
|
name: rebuild-distribution
|
||||||
|
entry: npm run build
|
||||||
|
language: system
|
||||||
|
files: ^(index\.js|monitor\.js|package\.json|package-lock\.json)$
|
||||||
|
pass_filenames: false
|
||||||
|
stages: [pre-commit]
|
||||||
|
- id: add-dist
|
||||||
|
name: stage-distribution
|
||||||
|
entry: git add dist/
|
||||||
|
language: system
|
||||||
|
files: ^(index\.js|monitor\.js|package\.json|package-lock\.json)$
|
||||||
|
pass_filenames: false
|
||||||
|
stages: [pre-commit]
|
||||||
|
|||||||
Generated
+659
-833
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user