Skip to content

build(deps): bump http-proxy-middleware from 2.0.6 to 2.0.7 #272

build(deps): bump http-proxy-middleware from 2.0.6 to 2.0.7

build(deps): bump http-proxy-middleware from 2.0.6 to 2.0.7 #272

name: Unit and screenshot tests
on:
pull_request:
jobs:
test:
name: Unit and screenshot tests
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "18"
cache: "yarn"
- name: Install dependencies
run: yarn install
- name: Run unit tests
run: yarn test
- name: Build Docker image
run: docker build -t playwright-tests -f Dockerfile.tests .
- name: Run screenshot tests on Docker
run: docker run --rm -e CI=true -v $(pwd)/test-results:/app/test-results playwright-tests
- name: Archive artifacts
uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
name: screenshots-report
path: test-results