cmake-action/.github/workflows/build.yaml
Alfi Maulana 1a6f9e325f
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
chore: bump workflows to use Ubuntu 24.04 (#546)
Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>
2024-12-11 14:49:53 +07:00

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