cmake-action/.github/workflows/check.yaml
dependabot[bot] 9ad46c68e5
chore: bump actions/checkout from 4.1.7 to 4.2.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.7 to 4.2.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.7...v4.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>
Co-authored-by: Alfi Maulana <alfi.maulana.f@gmail.com>
2024-09-26 19:23:37 +07:00

31 lines
624 B
YAML

name: Check
on:
workflow_dispatch:
pull_request:
push:
branches: [main]
jobs:
check-package:
name: Check Package
runs-on: ubuntu-22.04
steps:
- name: Checkout Project
uses: actions/checkout@v4.2.0
- name: Setup Node.js
uses: actions/setup-node@v4.0.4
with:
node-version-file: .nvmrc
- name: Setup Yarn
uses: threeal/setup-yarn-action@v2.0.0
- name: Check Formatting
run: yarn format
- name: Check Diff
run: git diff && git diff-index --quiet --exit-code HEAD
- name: Check Lint
run: yarn lint