Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.

fix(deps): update dependency systeminformation to v5.21.10 #3046

fix(deps): update dependency systeminformation to v5.21.10

fix(deps): update dependency systeminformation to v5.21.10 #3046

Workflow file for this run

name: Ayuskey E2E Test
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 19.x, 20.x]
python-version: [3.9]
services:
postgres:
image: postgres:15.1-alpine
ports:
- 5432:5432
env:
POSTGRES_DB: test-misskey
POSTGRES_HOST_AUTH_METHOD: trust
redis:
image: redis:alpine
ports:
- 6379:6379
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: pnpm/action-setup@v2.2.4
with:
version: 7
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
# キャッシュの調整が必要かも
- run: pnpm i
- run: pnpm build
- run: cp e2e/e2e.yml .config/default.yml
- run: pnpm migrateandstart &
- name: Use Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Run pip install
run: pip install -r requirements.txt
working-directory: ./e2e
- name: Setup playwright
run: python -m playwright install
working-directory: ./e2e
- name: Run E2E Test
run: pytest run.py --maxfail=1
working-directory: ./e2e
- name: Upload E2E ScreenShots
if: always()
uses: actions/upload-artifact@v3
with:
name: ScreenShots-${{ matrix.node-version }}
path: e2e/ScreenShots