From 4f14a944c7ce71d90b51c5e314e9b1590784fc7e Mon Sep 17 00:00:00 2001 From: Michael Pearce Date: Tue, 17 Nov 2026 21:55:34 -0800 Subject: [PATCH] Check that pull requests type-check and build --- .github/workflows/build.yml | 19 +++++++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- src/docs/changelog.ts | 11 +++++++++++ 4 files changed, 33 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..d136dd9 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,19 @@ +name: Build + +on: + pull_request: + branches: [main] + +jobs: + build: + name: Type check and build + runs-on: ubuntu-latest + timeout-minutes: 15 + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 22 + cache: npm + - run: npm ci + - run: npm run build diff --git a/package-lock.json b/package-lock.json index 1a312d4..bb5a071 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "kitbasher", - "version": "1.18.0", + "version": "1.18.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "kitbasher", - "version": "1.18.0", + "version": "1.18.1", "license": "MIT", "dependencies": { "@fontsource-variable/inter": "^5.3.0", diff --git a/package.json b/package.json index 8664871..febb6c6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "kitbasher", - "version": "1.18.0", + "version": "1.18.1", "description": "A local-first 3D assembly workbench for multipart models", "scripts": { "dev": "vite", diff --git a/src/docs/changelog.ts b/src/docs/changelog.ts index 3de3094..1c5e3e0 100644 --- a/src/docs/changelog.ts +++ b/src/docs/changelog.ts @@ -15,6 +15,17 @@ export interface Release { // Newest first. Every pull request adds a release here and sets the same version in package.json. export const releases: Release[] = [ + { + version: '1.18.1', + date: '2026-11-17', + title: 'Build check', + changes: [ + { + kind: 'improved', + text: 'Every change is checked to compile and build before it is merged.', + }, + ], + }, { version: '1.18.0', date: '2026-11-17',