aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/playwright.yml
diff options
context:
space:
mode:
authorDarius Jahandarie <djahandarie@gmail.com>2023-10-01 12:43:45 +0900
committerGitHub <noreply@github.com>2023-10-01 12:43:45 +0900
commit0fbfeb883eb4ca03b9a802757138fef9a6835cdc (patch)
treed752d7594d8302f149eb6aa30485a324ab7aa883 /.github/workflows/playwright.yml
parentea1c147730bef183855f5dc079c9a2d19e1c623e (diff)
parent0fa8d441a269b13474e6ad4108f49497d4d3abfd (diff)
Merge branch 'master' into dependabot/github_actions/cardinalby/schema-validator-action-3.0.0
Diffstat (limited to '.github/workflows/playwright.yml')
-rw-r--r--.github/workflows/playwright.yml17
1 files changed, 10 insertions, 7 deletions
diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml
index 9397e4fa..8d4adca8 100644
--- a/.github/workflows/playwright.yml
+++ b/.github/workflows/playwright.yml
@@ -13,14 +13,14 @@ jobs:
- name: Remove all fonts
run: rm -rf /usr/share/fonts
- - uses: actions/checkout@v3
-
+ - uses: actions/checkout@v4
+
- name: Install CJK fonts
uses: awalsh128/cache-apt-pkgs-action@1850ee53f6e706525805321a3f2f863dcf73c962 # v1.3.0
with:
packages: fonts-ipafont-mincho
execute_install_scripts: true
-
+
- uses: actions/setup-node@v3
with:
cache: "npm"
@@ -29,6 +29,9 @@ jobs:
- name: Install dependencies
run: npm ci
+ - name: Build
+ run: npm run build
+
- name: Cache playwright browsers
id: cache-playwright
uses: actions/cache@v3
@@ -39,17 +42,17 @@ jobs:
- if: ${{ steps.cache-playwright.outputs.cache-hit != 'true' }}
name: Install Playwright Browsers
- run: npx playwright install --with-deps chromium
-
+ run: npx playwright install chromium
+
- name: Grab latest dictionaries from dictionaries branch
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
with:
repository: themoeway/yomitan # so that this works on forks
ref: dictionaries
path: dictionaries
- name: Grab latest screenshots from master branch
- uses: dawidd6/action-download-artifact@246dbf436b23d7c49e21a7ab8204ca9ecd1fe615 # pin@v2
+ uses: dawidd6/action-download-artifact@268677152d06ba59fcec7a7f0b5d961b6ccd7e1e # pin@v2
continue-on-error: true
id: master-screenshots
with: