Skip to content

Commit 0a2d529

Browse files
Add CI build check
1 parent aceef07 commit 0a2d529

2 files changed

Lines changed: 51 additions & 0 deletions

File tree

.github/renovate.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"extends": ["config:base"],
3+
"automerge": true,
4+
"automergeType": "pr",
5+
"labels": ["dependencies"],
6+
"rangeStrategy": "bump",
7+
"packageRules": [
8+
{
9+
"matchPackagePatterns": ["*"],
10+
"enabled": false
11+
},
12+
{
13+
"matchPackageNames": ["@squidcloud/backend", "@squidcloud/cli"],
14+
"groupName": "Squid backend dependencies",
15+
"enabled": true
16+
}
17+
]
18+
}

.github/workflows/build.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches-ignore:
6+
- main
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Check out repo
13+
uses: actions/checkout@v3
14+
15+
- name: Set up Python
16+
uses: actions/setup-python@v5
17+
with:
18+
python-version: '3.14'
19+
20+
- name: Install Python dependencies
21+
working-directory: ./backend
22+
run: pip install -r requirements.txt
23+
24+
- name: Install dependencies
25+
run: npm install
26+
27+
- name: Install backend dependencies
28+
working-directory: ./backend
29+
run: npm install
30+
31+
- name: Build backend
32+
working-directory: ./backend
33+
run: npm run build

0 commit comments

Comments
 (0)