Fix ci with pnpm

This commit is contained in:
Michael
2021-11-09 16:58:43 +01:00
parent d8c28b54d2
commit ef17507328

View File

@@ -8,15 +8,16 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: pnpm/action-setup@v2.0.1
- uses: actions/setup-node@v2 - uses: actions/setup-node@v2
with: with:
node-version: '14.x' node-version: '14.x'
- name: Install dependencies - name: Install dependencies
run: npm ci run: pnpm ci
- name: Install Playwright - name: Install Playwright
run: npx playwright install --with-deps run: pnpx playwright install --with-deps
- name: Run Playwright tests - name: Run Playwright tests
run: npm run test run: pnpm run test
env: env:
# This might depend on your test-runner/language binding # This might depend on your test-runner/language binding
PLAYWRIGHT_TEST_BASE_URL: ${{ github.event.deployment_status.target_url }} PLAYWRIGHT_TEST_BASE_URL: ${{ github.event.deployment_status.target_url }}