mirror of
https://github.com/threeal/cmake-action.git
synced 2025-07-19 20:54:23 +00:00
test: reorder steps for building and testing the project (#766)
Some checks failed
Test / Test Action (macos-14) (push) Has been cancelled
Test / Test Action (ubuntu-24.04) (push) Has been cancelled
Build / Build Action (push) Has been cancelled
Test / Test Action (windows-2022) (push) Has been cancelled
Test / Test Action With Specified Directories (push) Has been cancelled
Test / Test Action Without Run Build (push) Has been cancelled
Test / Test Action With Additional Options (push) Has been cancelled
Test / Test Action With Custom Generator (push) Has been cancelled
Some checks failed
Test / Test Action (macos-14) (push) Has been cancelled
Test / Test Action (ubuntu-24.04) (push) Has been cancelled
Build / Build Action (push) Has been cancelled
Test / Test Action (windows-2022) (push) Has been cancelled
Test / Test Action With Specified Directories (push) Has been cancelled
Test / Test Action Without Run Build (push) Has been cancelled
Test / Test Action With Additional Options (push) Has been cancelled
Test / Test Action With Custom Generator (push) Has been cancelled
* test: reorder steps for building and testing the project Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com> * test: rename `lefthook.yml` to `lefthook.yaml` Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com> --------- Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>
This commit is contained in:
parent
1c6900ca19
commit
77b6f88a9c
12
.github/workflows/build.yaml
vendored
12
.github/workflows/build.yaml
vendored
@ -18,17 +18,17 @@ jobs:
|
||||
- name: Install Dependencies
|
||||
run: pnpm install
|
||||
|
||||
- name: Check Formatting
|
||||
run: pnpm prettier --check .
|
||||
|
||||
- name: Check Lint
|
||||
run: pnpm eslint
|
||||
|
||||
- name: Check Types
|
||||
run: pnpm tsc
|
||||
|
||||
- name: Test Action
|
||||
run: pnpm test
|
||||
|
||||
- name: Check Formatting
|
||||
run: pnpm prettier --check .
|
||||
|
||||
- name: Check Lint
|
||||
run: pnpm eslint
|
||||
|
||||
- name: Build Action
|
||||
run: pnpm rollup -c && git diff --exit-code dist
|
||||
|
@ -8,12 +8,6 @@ pre-commit:
|
||||
- pnpm-lock.yaml
|
||||
- pnpm-workspace.yaml
|
||||
|
||||
- name: fix formatting
|
||||
run: pnpm prettier --write --ignore-unknown {staged_files}
|
||||
|
||||
- name: fix lint
|
||||
run: pnpm eslint --no-warn-ignored --fix {staged_files}
|
||||
|
||||
- name: check types
|
||||
run: pnpm tsc
|
||||
glob:
|
||||
@ -22,6 +16,12 @@ pre-commit:
|
||||
- pnpm-lock.yaml
|
||||
- tsconfig.json
|
||||
|
||||
- name: fix formatting
|
||||
run: pnpm prettier --write --ignore-unknown {staged_files}
|
||||
|
||||
- name: fix lint
|
||||
run: pnpm eslint --no-warn-ignored --fix {staged_files}
|
||||
|
||||
- name: build action
|
||||
run: pnpm rollup -c
|
||||
glob:
|
Loading…
Reference in New Issue
Block a user