forked from dataaxiom/ghcr-cleanup-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
35 lines (35 loc) · 988 Bytes
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
repos:
- repo: local
hooks:
- id: format
name: Run formatter.
entry: 'npm run format:write'
language: system
types_or: [ts, json, yaml, markdown]
require_serial: true
- id: format_2
name: Run formatter (2).
entry: 'npx prettier --write .'
language: system
types_or: [ts, json, yaml, markdown]
require_serial: true
- id: lint
name: Run linter.
entry: 'npm run lint'
language: system
types_or: [ts]
require_serial: true
- id: bundle_action
name: Transpile action TS sources.
entry: 'npm run package'
pass_filenames: false
language: system
types_or: [ts]
require_serial: true
- id: bundle_ci_tester
name: Transpile CI Tester TS sources.
entry: 'npm run ci-tester'
pass_filenames: false
language: system
types_or: [ts]
require_serial: true