mirror of
https://github.com/threeal/cmake-action.git
synced 2025-04-11 15:01:41 +00:00
Some checks failed
Build / Build Package (push) Has been cancelled
Check / Check Package (push) Has been cancelled
Test / Test Package (push) Has been cancelled
Test / Test Action (macos-14) (push) Has been cancelled
Test / Test Action (ubuntu-24.04) (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
Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>
34 lines
686 B
YAML
34 lines
686 B
YAML
name: Check
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
push:
|
|
branches: [main]
|
|
jobs:
|
|
check-package:
|
|
name: Check Package
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- name: Checkout Project
|
|
uses: actions/checkout@v4.2.2
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4.2.0
|
|
with:
|
|
node-version-file: .nvmrc
|
|
|
|
- name: Setup pnpm
|
|
uses: threeal/setup-pnpm-action@v1.0.0
|
|
|
|
- name: Install Dependencies
|
|
run: pnpm install
|
|
|
|
- name: Check Formatting
|
|
run: pnpm format
|
|
|
|
- name: Check Diff
|
|
run: git diff && git diff-index --quiet --exit-code HEAD
|
|
|
|
- name: Check Lint
|
|
run: pnpm lint
|