Skip to content

Commit 0b541c6

Browse files
authored
Merge branch 'staging' into copilot/cache-pre-seed-falkordb-test-data
2 parents 4747f14 + a1b3a83 commit 0b541c6

5 files changed

Lines changed: 39 additions & 23 deletions

File tree

.github/workflows/nextjs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: actions/checkout@v4
1919

2020
- name: Setup Node
21-
uses: actions/setup-node@v4
21+
uses: actions/setup-node@v6
2222
with:
2323
node-version: "20"
2424

@@ -35,7 +35,7 @@ jobs:
3535
run: npm run lint
3636

3737
- name: Setup Python
38-
uses: actions/setup-python@v5
38+
uses: actions/setup-python@v6
3939
with:
4040
python-version: "3.12"
4141

.github/workflows/playwright.yml

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525
steps:
2626
- uses: actions/checkout@v4
2727

28-
- uses: actions/setup-node@v4
28+
- uses: actions/setup-node@v6
2929
with:
3030
node-version: 24
3131

32-
- uses: actions/setup-python@v5
32+
- uses: actions/setup-python@v6
3333
with:
3434
python-version: '3.12'
3535

@@ -63,10 +63,26 @@ jobs:
6363
- name: Seed test data into FalkorDB
6464
run: python e2e/seed_test_data.py
6565

66-
- name: Install Playwright
66+
- name: Install Playwright npm dependencies
6767
run: |
6868
npm ci
69-
npx playwright install --with-deps
69+
70+
- name: Cache Playwright browsers
71+
id: playwright-cache
72+
uses: actions/cache@v4
73+
with:
74+
path: ~/.cache/ms-playwright
75+
key: playwright-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('package-lock.json') }}
76+
77+
- name: Install Playwright browsers
78+
if: steps.playwright-cache.outputs.cache-hit != 'true'
79+
run: npx playwright install --with-deps chromium firefox
80+
81+
- name: Install Playwright system deps
82+
if: steps.playwright-cache.outputs.cache-hit == 'true'
83+
run: |
84+
npx playwright install chromium firefox
85+
npx playwright install-deps chromium firefox
7086
7187
- name: Run Playwright tests
7288
env:
@@ -86,7 +102,7 @@ jobs:
86102
mkdir -p playwright-report
87103
mkdir -p playwright-report/artifacts
88104
89-
- uses: actions/upload-artifact@v4
105+
- uses: actions/upload-artifact@v7
90106
if: always()
91107
with:
92108
name: playwright-report-shard-${{ matrix.shard }}
@@ -95,7 +111,7 @@ jobs:
95111

96112
- name: Upload failed test screenshots
97113
if: always()
98-
uses: actions/upload-artifact@v4
114+
uses: actions/upload-artifact@v7
99115
with:
100116
name: failed-test-screenshots-shard-${{ matrix.shard }}
101117
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)