Create separate Build check CI

This commit is contained in:
Vanilagy
2026-07-01 11:28:52 +02:00
parent a9441aa9a9
commit 2c7e8d85ca
2 changed files with 29 additions and 11 deletions
+28
View File
@@ -0,0 +1,28 @@
name: Build check
on:
push:
branches:
- main
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
- name: Set up Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 22
cache: 'npm'
- name: Install dependencies
run: npm ci
# Building the docs also means building the core library
- name: Build everything
run: npm run docs:build
-10
View File
@@ -28,13 +28,3 @@ jobs:
- name: Run ESLint
run: npm run lint
- name: Run build
run: npm run build
- name: Generate API docs
run: npm run docs:generate
# We do this because we want to surface doc-building errors early
- name: Build docs
run: vitepress build docs