diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aef4d02635..7d655bc857 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -53,7 +53,13 @@ jobs: node-version: '20' cache: 'pnpm' - - name: Install Node.js dependencies + - name: Setup pnpm + uses: pnpm/action-setup@v4 + with: + version: 8 + run_install: false + + - name: Install dependencies run: pnpm install - name: Run Jest tests diff --git a/README.md b/README.md index 0d2dc1820d..7d2cf38502 100644 --- a/README.md +++ b/README.md @@ -151,11 +151,11 @@ To run our end-to-end tests via Playwright, you can use several commands: $ pnpm exec playwright test -Runs the end-to-end tests. +Run the end-to-end tests. $ pnpm exec playwright test --ui -Starts the interactive UI mode. +Start the interactive UI mode. $ pnpm exec playwright test --project=chromium @@ -163,11 +163,11 @@ Runs the tests only on Desktop Chrome. $ pnpm exec playwright test example -Runs the tests in a specific file. +Run the tests in a specific file. $ pnpm exec playwright test --debug -Runs the tests in debug mode. +Run the tests in debug mode. $ pnpm exec playwright codegen