From 626b6b6dc3c5f94333c82d2c8bb66c09254d35e4 Mon Sep 17 00:00:00 2001 From: Danny van Velzen Date: Mon, 16 Dec 2024 11:51:01 -0800 Subject: [PATCH] Add build:selfhost target for quick validation --- .github/workflows/pr.yml | 3 +++ package.json | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index bd00d9be5..d313b5f14 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -54,3 +54,6 @@ jobs: env: BACKFILL_CACHE_PROVIDER: ${{ secrets.backfill_cache_provider }} BACKFILL_CACHE_PROVIDER_OPTIONS: ${{ secrets.backfill_cache_provider_options }} + + - name: Selfhost Build, Test, Lint + run: yarn ci:selfhost diff --git a/package.json b/package.json index 91fd096c1..35adc0fcd 100644 --- a/package.json +++ b/package.json @@ -13,10 +13,12 @@ }, "scripts": { "build": "lage transpile types build bundle", + "build:selfhost": "node packages/lage/dist/lage.js transpile types build bundle", "watch": "lage transpile isolatedTypes --no-cache --verbose --unstable-watch", "change": "beachball change", "checkchange": "beachball check", "ci": "lage transpile types build test lint bundle", + "ci:selfhost": "node packages/lage/dist/lage.js transpile types build test lint bundle", "release": "beachball publish -y --tag latest", "test": "lage test --verbose", "lint": "lage lint", @@ -57,4 +59,4 @@ ] }, "packageManager": "yarn@4.5.0" -} +} \ No newline at end of file