Skip to content

Commit 25f5344

Browse files
authored
Merge branch 'staging' into copilot/switch-ci-to-uv-sync
2 parents c1b27a3 + a1b3a83 commit 25f5344

6 files changed

Lines changed: 69 additions & 24 deletions

File tree

.github/dependabot.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,24 @@ updates:
1414
npm-minor-patch:
1515
update-types:
1616
- "patch"
17-
17+
18+
- package-ecosystem: "github-actions"
19+
directory: "/"
20+
schedule:
21+
interval: "daily"
22+
target-branch: "staging"
23+
groups:
24+
github-actions-minor-patch:
25+
update-types:
26+
- "patch"
27+
28+
- package-ecosystem: "pip"
29+
directory: "/"
30+
schedule:
31+
interval: "daily"
32+
target-branch: "staging"
33+
groups:
34+
pip-minor-patch:
35+
update-types:
36+
- "patch"
37+

.github/workflows/nextjs.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
pull_request:
77
workflow_dispatch:
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
11+
cancel-in-progress: true
12+
913
jobs:
1014
build:
1115
runs-on: ubuntu-latest
@@ -14,7 +18,7 @@ jobs:
1418
uses: actions/checkout@v4
1519

1620
- name: Setup Node
17-
uses: actions/setup-node@v4
21+
uses: actions/setup-node@v6
1822
with:
1923
node-version: "20"
2024

@@ -31,7 +35,7 @@ jobs:
3135
run: npm run lint
3236

3337
- name: Setup Python
34-
uses: actions/setup-python@v5
38+
uses: actions/setup-python@v6
3539
with:
3640
python-version: "3.12"
3741

.github/workflows/playwright.yml

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ on:
44
branches: [ main, staging ]
55
pull_request:
66
branches: [ main, staging ]
7+
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
10+
cancel-in-progress: true
11+
712
jobs:
813
test:
914
timeout-minutes: 60
@@ -22,11 +27,11 @@ jobs:
2227
steps:
2328
- uses: actions/checkout@v4
2429

25-
- uses: actions/setup-node@v4
30+
- uses: actions/setup-node@v6
2631
with:
2732
node-version: 24
2833

29-
- uses: actions/setup-python@v5
34+
- uses: actions/setup-python@v6
3035
with:
3136
python-version: '3.12'
3237

@@ -51,10 +56,26 @@ jobs:
5156
- name: Seed test data into FalkorDB
5257
run: uv run python e2e/seed_test_data.py
5358

54-
- name: Install Playwright
59+
- name: Install Playwright npm dependencies
5560
run: |
5661
npm ci
57-
npx playwright install --with-deps
62+
63+
- name: Cache Playwright browsers
64+
id: playwright-cache
65+
uses: actions/cache@v4
66+
with:
67+
path: ~/.cache/ms-playwright
68+
key: playwright-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('package-lock.json') }}
69+
70+
- name: Install Playwright browsers
71+
if: steps.playwright-cache.outputs.cache-hit != 'true'
72+
run: npx playwright install --with-deps chromium firefox
73+
74+
- name: Install Playwright system deps
75+
if: steps.playwright-cache.outputs.cache-hit == 'true'
76+
run: |
77+
npx playwright install chromium firefox
78+
npx playwright install-deps chromium firefox
5879
5980
- name: Run Playwright tests
6081
env:
@@ -74,7 +95,7 @@ jobs:
7495
mkdir -p playwright-report
7596
mkdir -p playwright-report/artifacts
7697
77-
- uses: actions/upload-artifact@v4
98+
- uses: actions/upload-artifact@v7
7899
if: always()
79100
with:
80101
name: playwright-report-shard-${{ matrix.shard }}
@@ -83,7 +104,7 @@ jobs:
83104

84105
- name: Upload failed test screenshots
85106
if: always()
86-
uses: actions/upload-artifact@v4
107+
uses: actions/upload-artifact@v7
87108
with:
88109
name: failed-test-screenshots-shard-${{ matrix.shard }}
89110
path: playwright-report/artifacts/

.github/workflows/release-image.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ jobs:
2323
fi
2424
2525
- name: Login to DockerHub
26-
uses: docker/login-action@v3
26+
uses: docker/login-action@v4
2727
with:
2828
username: ${{ secrets.DOCKER_USERNAME }}
2929
password: ${{ secrets.DOCKER_PASSWORD }}
3030

3131
- name: Build image
32-
uses: docker/build-push-action@v5
32+
uses: docker/build-push-action@v7
3333
with:
3434
context: .
3535
file: ./Dockerfile

package-lock.json

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"name": "code-graph-e2e",
33
"private": true,
44
"devDependencies": {
5-
"@playwright/test": "^1.50.1"
5+
"@playwright/test": "^1.58.2"
66
}
77
}

0 commit comments

Comments
 (0)