diff --git a/.gitea/workflows/action.yml b/.gitea/workflows/action.yml index 6b5efc2..2966061 100644 --- a/.gitea/workflows/action.yml +++ b/.gitea/workflows/action.yml @@ -18,16 +18,16 @@ jobs: apt-get update -qq && apt-get install -y -qq sshpass musl musl-tools sqlite3 curl gnupg && mkdir -p /etc/apt/keyrings | curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && apt-get update && apt-get install nodejs -y && apt-get install npm -y - uses: actions/checkout@v3 - name: Install dependencies - run: npm ci + run: cd frontend && npm ci - name: Install Playwright Browsers - run: npx playwright install --with-deps + run: cd frontend && npx playwright install --with-deps - name: Run Playwright tests - run: npx playwright test + run: cd frontend && npx playwright test - uses: actions/upload-artifact@v3 if: always() with: name: playwright-report - path: playwright-report/ + path: frontend/playwright-report/ retention-days: 30 test-backend: