cmake-action/.github/workflows/build.yaml
dependabot[bot] 64e5dfa625
Some checks failed
Test / Test Action (macos-14) (push) Waiting to run
Test / Test Action (windows-2022) (push) Waiting to run
Build / Build Package (push) Failing after 1s
Check / Check Package (push) Failing after 1s
Test / Test Package (push) Failing after 1s
Test / Test Action (ubuntu-22.04) (push) Failing after 29s
Test / Test Action With Specified Directories (push) Failing after 34s
Test / Test Action Without Run Build (push) Failing after 36s
Test / Test Action With Additional Options (push) Failing after 2s
Test / Test Action With Custom Generator (push) Failing after 2s
chore: bump actions/setup-node from 4.0.4 to 4.1.0 (#489)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.0.4 to 4.1.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4.0.4...v4.1.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-31 13:40:30 +08: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-22.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