Add FAQ and Contact links to ListWidget; update terminology from Modu… #252
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Playwright Tests | |
on: | |
push: | |
branches: [main, master] | |
pull_request: | |
branches: [main, master] | |
jobs: | |
test: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Cache node modules | |
uses: actions/cache@v4 | |
env: | |
cache-name: cache-node-modules | |
with: | |
path: | | |
node_modules | |
**/node_modules | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-build-${{ env.cache-name }}- | |
${{ runner.os }}-build- | |
${{ runner.os }}- | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Install dependencies | |
run: yarn | |
# Added specific WebKit dependencies installation | |
- name: Install WebKit dependencies | |
run: | | |
sudo apt-get update | |
wget http://security.ubuntu.com/ubuntu/pool/main/i/icu/libicu70_70.1-2_amd64.deb | |
wget http://security.ubuntu.com/ubuntu/pool/main/i/icu/libicu-dev_70.1-2_amd64.deb | |
sudo dpkg -i libicu70_70.1-2_amd64.deb | |
sudo dpkg -i libicu-dev_70.1-2_amd64.deb | |
sudo apt-get install -y libwoff1 libharfbuzz-icu0 libgstreamer-plugins-base1.0-0 libgstreamer-gl1.0-0 libgstreamer1.0-0 libhyphen0 libmanette-0.2-0 libwebpdemux2 libenchant-2-2 | |
# Clear Playwright cache before installation | |
- name: Clear Playwright cache | |
run: | | |
rm -rf ~/.cache/ms-playwright || true | |
- name: Cache Playwright Browsers | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.cache/ms-playwright | |
key: ${{ runner.os }}-playwright-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-playwright- | |
- name: Install Playwright Browsers | |
run: | | |
yarn playwright install --with-deps --force | |
yarn playwright install webkit --force | |
- name: Run Playwright tests | |
run: yarn playwright test | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: playwright-report | |
path: playwright-report/ | |
retention-days: 30 |