chore: Run checks, tests and build as parallel jobs (#2614)

This commit is contained in:
Dermot Duffy
2026-07-25 22:01:53 -07:00
committed by GitHub
parent c4c6058a70
commit 37b07f079d
2 changed files with 30 additions and 4 deletions
@@ -1,5 +1,5 @@
---
name: 'Build'
name: 'CI'
on:
push:
@@ -12,8 +12,8 @@ on:
workflow_dispatch:
jobs:
build:
name: Test build
check:
name: Check
runs-on: ubuntu-latest
steps:
- name: Checkout
@@ -37,9 +37,35 @@ jobs:
- name: Check formatting
run: yarn run format-check
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Setup Node and Yarn
uses: volta-cli/action@v5
- name: Install dependencies
run: yarn install --immutable
- name: Test & Coverage
run: yarn run coverage
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Setup Node and Yarn
uses: volta-cli/action@v5
- name: Install dependencies
run: yarn install --immutable
- name: Build
run: yarn run build
+1 -1
View File
@@ -3,7 +3,7 @@
<!-- markdownlint-disable no-inline-html -->
[![GitHub Release](https://img.shields.io/github/release/dermotduffy/advanced-camera-card.svg?style=flat-square)](https://github.com/dermotduffy/advanced-camera-card/releases)
[![Build Status](https://img.shields.io/github/actions/workflow/status/dermotduffy/advanced-camera-card/build.yml?style=flat-square)](https://github.com/dermotduffy/advanced-camera-card/actions/workflows/build.yml)
[![CI Status](https://img.shields.io/github/actions/workflow/status/dermotduffy/advanced-camera-card/ci.yml?style=flat-square)](https://github.com/dermotduffy/advanced-camera-card/actions/workflows/ci.yml)
[![License](https://img.shields.io/github/license/dermotduffy/advanced-camera-card.svg?style=flat-square)](LICENSE)
[![HACS](https://img.shields.io/badge/HACS-default-orange.svg?style=flat-square)](https://hacs.xyz)
[![Sponsor](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86&style=flat-square)](https://github.com/sponsors/dermotduffy)