mirror of
https://github.com/djkotowski/personal-website.git
synced 2026-09-12 05:20:40 -05:00
Give the check job an explicit name so branch protection rules can reference a stable, searchable "CI" status check context instead of the generic job-key-derived name. Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
29 lines
690 B
YAML
29 lines
690 B
YAML
name: ci-test
|
|
run-name: "${{ github.actor }} is checking ${{ github.sha }}"
|
|
on:
|
|
pull_request: {}
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
jobs:
|
|
check:
|
|
name: CI
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
- name: Setup pnpm
|
|
uses: pnpm/action-setup@v4
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version-file: '.tool-versions'
|
|
cache: 'pnpm'
|
|
- name: Install Dependencies
|
|
run: pnpm install --frozen-lockfile
|
|
- name: Lint solution
|
|
run: pnpm check
|