Skip to content

chore: dependency update #558

chore: dependency update

chore: dependency update #558

Workflow file for this run

name: E2E testing
on: [push]
jobs:
build:
name: Lint, Build and test
timeout-minutes: 15
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 21.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install --immutable
- name: Build
run: yarn build
- name: Install Playwright browsers
run: yarn playwright install --with-deps
- name: Dockerize
run: yarn dockerize
- name: Start from Docker conatiner
run: docker run -d --name pi-rat -p 9090:9090 furystack/pi-rat
- run: yarn test:e2e:install
name: 'Test Installer'
- run: yarn test:e2e
name: 'E2E tests'
env:
E2E_TEMP: /home/node/app/tmp
- run: docker logs pi-rat
if: always()
name: Dump Docker logs
- uses: actions/upload-artifact@v4
name: Upload Yarn error logs
if: failure()
with:
path: yarn-error.log
name: yarn-error.log
- uses: actions/upload-artifact@v4
name: Upload Playwright traces
if: failure()
with:
path: test-results
name: test-results