mirror of
https://github.com/threeal/cmake-action.git
synced 2025-04-22 19:41:20 +00:00
Some checks are pending
Build / Build Package (push) Waiting to run
Check / Check Package (push) Waiting to run
Test / Test Action (macos-14) (push) Waiting to run
Test / Test Action With Additional Options (push) Waiting to run
Test / Test Action (ubuntu-24.04) (push) Waiting to run
Test / Test Action (windows-2022) (push) Waiting to run
Test / Test Action With Specified Directories (push) Waiting to run
Test / Test Action Without Run Build (push) Waiting to run
Test / Test Package (push) Waiting to run
Test / Test Action With Custom Generator (push) Waiting to run
Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>
28 lines
571 B
YAML
28 lines
571 B
YAML
name: Build
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
push:
|
|
branches: [main]
|
|
jobs:
|
|
build-package:
|
|
name: Build 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.1.0
|
|
with:
|
|
node-version-file: .nvmrc
|
|
|
|
- name: Setup Yarn
|
|
uses: threeal/setup-yarn-action@v2.0.0
|
|
|
|
- name: Build Package
|
|
run: yarn build
|
|
|
|
- name: Check Diff
|
|
run: git diff && git diff-index --quiet --exit-code HEAD
|