Skip to content

Commit 1e39dcf

Browse files
committed
.
1 parent 5e8e627 commit 1e39dcf

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,20 +40,20 @@ jobs:
4040
- name: Install required libraries
4141
run: sudo apt-get update && sudo apt-get install -y libgtk-4-dev libgraphene-1.0-dev libavif-dev
4242

43-
# - name: Cache Playwright dependencies
44-
# id: cache-pw
45-
# uses: actions/cache@v2
46-
# with:
47-
# path: /home/runner/.cache/ms-playwright
48-
# key: playwright-${{ runner.os }}-${{ hashFiles('playwrightVersion.mill') }}
49-
# restore-keys: |
50-
# playwright-${{ runner.os }}-${{ hashFiles('playwrightVersion.mill') }}
43+
- name: Cache Playwright dependencies
44+
id: cache-pw
45+
uses: actions/cache@v2
46+
with:
47+
path: /home/runner/.cache/ms-playwright
48+
key: playwright-${{ runner.os }}-${{ hashFiles('playwrightVersion.mill') }}
49+
restore-keys: |
50+
playwright-${{ runner.os }}-${{ hashFiles('playwrightVersion.mill') }}
5151
5252
- name: formatCheck
5353
run: ./mill mill.scalalib.scalafmt.ScalafmtModule/checkFormatAll __.sources
5454

55-
- name: playwright
56-
run: cs launch com.microsoft.playwright:playwright:1.51.0 -M "com.microsoft.playwright.CLI" -- install chromium --only-shell
55+
- name: Install Playwright
56+
run: just setupPlaywright
5757

5858
- name: compile
5959
run: ./mill __.compile

justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ serveMill:
4545
--proxy-target-port 8080
4646

4747
setupPlaywright:
48-
cs launch com.microsoft.playwright:playwright:1.45.0 -M "com.microsoft.playwright.CLI" -- install --with-deps
48+
cs launch com.microsoft.playwright:playwright:1.51.0 -M "com.microsoft.playwright.CLI" -- install --with-deps
4949

5050
publishLocal:
5151
./mill __.publishLocal

0 commit comments

Comments
 (0)