Skip to content

Update upstream PR #2184 with fix for LogViewer rendering issue #1

Update upstream PR #2184 with fix for LogViewer rendering issue

Update upstream PR #2184 with fix for LogViewer rendering issue #1

Workflow file for this run

name: Pull request
on:
pull_request:
jobs:
Tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
- name: Node.js modules cache, repository
uses: actions/cache@v3
id: repo-cache
with:
path: ${{ github.workspace }}/node_modules
key: ${{ runner.os }}-${{ matrix.node-version }}-modules-repo-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-${{ matrix.node-version }}-modules-repo
- name: Node.js modules cache, backend
uses: actions/cache@v3
id: backend-cache
with:
path: ${{ github.workspace }}/backend/node_modules
key: ${{ runner.os }}-${{ matrix.node-version }}-modules-backend-${{ hashFiles('**/backend/package-lock.json') }}
restore-keys: |
${{ runner.os }}-${{ matrix.node-version }}-modules-backend
- name: Node.js modules cache, frontend
uses: actions/cache@v3
id: frontend-cache
with:
path: ${{ github.workspace }}/frontend/node_modules
key: ${{ runner.os }}-${{ matrix.node-version }}-modules-frontend-${{ hashFiles('**/frontend/package-lock.json') }}
restore-keys: |
${{ runner.os }}-${{ matrix.node-version }}-modules-frontend
- name: Install Node.js packages
if: ${{ steps.repo-cache.outputs.cache-hit != 'true' || steps.backend-cache.outputs.cache-hit != 'true' || steps.frontend-cache.outputs.cache-hit != 'true' }}
run: npm install
- name: Install Playwright Browsers
working-directory: ./frontend
run: npx playwright install --with-deps
- name: Test
if: ${{ success() }}
run: npm run test