mirror of
https://github.com/threeal/cmake-action.git
synced 2025-09-13 19:17:21 +00:00
21 lines
393 B
YAML
21 lines
393 B
YAML
pre-commit:
|
|
piped: true
|
|
jobs:
|
|
- name: install dependencies
|
|
run: pnpm install
|
|
|
|
- name: check types
|
|
run: pnpm tsc
|
|
|
|
- name: fix formatting
|
|
run: pnpm prettier --write .
|
|
|
|
- name: fix lint
|
|
run: pnpm eslint --fix
|
|
|
|
- name: build action
|
|
run: pnpm rollup -c
|
|
|
|
- name: check diff
|
|
run: git diff --exit-code dist pnpm-lock.yaml {staged_files}
|