mirror of
https://github.com/threeal/cmake-action.git
synced 2025-09-13 11:07:22 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.2 to 5.0.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.2.2...v5.0.0) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 5.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
35 lines
672 B
YAML
35 lines
672 B
YAML
name: Build
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
push:
|
|
branches: [main]
|
|
jobs:
|
|
build-action:
|
|
name: Build Action
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- name: Checkout Project
|
|
uses: actions/checkout@v5.0.0
|
|
|
|
- name: Setup pnpm
|
|
uses: threeal/setup-pnpm-action@v1.0.0
|
|
|
|
- name: Install Dependencies
|
|
run: pnpm install
|
|
|
|
- name: Check Types
|
|
run: pnpm tsc
|
|
|
|
- name: Test Action
|
|
run: pnpm test
|
|
|
|
- name: Check Formatting
|
|
run: pnpm prettier --check .
|
|
|
|
- name: Check Lint
|
|
run: pnpm eslint
|
|
|
|
- name: Build Action
|
|
run: pnpm rollup -c && git diff --exit-code dist
|