diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index fb15c1a..6c2f3e8 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -13,20 +13,23 @@ jobs: - uses: actions/setup-node@v4 with: node-version: lts/* + - uses: pnpm/action-setup@v4 + with: + version: 9 - name: Install Deps (FFmpeg is install through Playwright) run: | sudo apt-get update sudo apt-get install -y libreoffice-writer - name: Install dependencies - run: npm ci + run: pnpm install --frozen-lockfile - name: Install Playwright Browsers - run: npx playwright install --with-deps + run: pnpm exec playwright install --with-deps - name: Run Playwright tests env: NEXT_PUBLIC_NODE_ENV: test API_BASE: https://api.deepinfra.com/v1/openai API_KEY: ${{ secrets.DEEPINFRA_API_KEY }} - run: npx playwright test --reporter=list,github,html + run: pnpm exec playwright test --reporter=list,github,html - uses: actions/upload-artifact@v4 if: ${{ !cancelled() }} with: diff --git a/.npmrc b/.npmrc deleted file mode 100644 index b40bfe5..0000000 --- a/.npmrc +++ /dev/null @@ -1,3 +0,0 @@ -# pnpm configuration -auto-install-peers=true -strict-peer-dependencies=false