From 0a2d5298b383ce659f3fca11af95d04ee843ec7d Mon Sep 17 00:00:00 2001 From: Victor Chang Date: Mon, 30 Mar 2026 16:32:47 -0700 Subject: [PATCH 1/2] Add CI build check --- .github/renovate.json | 18 ++++++++++++++++++ .github/workflows/build.yml | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 .github/renovate.json create mode 100644 .github/workflows/build.yml diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 0000000..3e4c4dd --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,18 @@ +{ + "extends": ["config:base"], + "automerge": true, + "automergeType": "pr", + "labels": ["dependencies"], + "rangeStrategy": "bump", + "packageRules": [ + { + "matchPackagePatterns": ["*"], + "enabled": false + }, + { + "matchPackageNames": ["@squidcloud/backend", "@squidcloud/cli"], + "groupName": "Squid backend dependencies", + "enabled": true + } + ] +} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..fd09eba --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,33 @@ +name: Build + +on: + push: + branches-ignore: + - main + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Check out repo + uses: actions/checkout@v3 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.14' + + - name: Install Python dependencies + working-directory: ./backend + run: pip install -r requirements.txt + + - name: Install dependencies + run: npm install + + - name: Install backend dependencies + working-directory: ./backend + run: npm install + + - name: Build backend + working-directory: ./backend + run: npm run build From 796dfa577200c3391f5888a1447ec8395699d287 Mon Sep 17 00:00:00 2001 From: Victor Chang Date: Mon, 30 Mar 2026 16:33:34 -0700 Subject: [PATCH 2/2] Remove backend subdir scope --- .github/workflows/build.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fd09eba..b665951 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,16 +18,13 @@ jobs: python-version: '3.14' - name: Install Python dependencies - working-directory: ./backend run: pip install -r requirements.txt - name: Install dependencies run: npm install - name: Install backend dependencies - working-directory: ./backend run: npm install - name: Build backend - working-directory: ./backend run: npm run build