From da21e5f4c1269e2893c955e44616bebc85e34d77 Mon Sep 17 00:00:00 2001 From: Jonathan Kelley Date: Wed, 19 Jul 2023 10:03:28 -0700 Subject: [PATCH] Move order around, set default working directory --- .github/workflows/playwright.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index cdd7fb996..974649419 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -4,6 +4,9 @@ on: branches: [ main, master ] pull_request: branches: [ main, master ] +defaults: + run: + working-directory: ./playwright-tests jobs: test: if: github.event.pull_request.draft == false @@ -11,6 +14,7 @@ jobs: runs-on: ubuntu-20.04 steps: # Do our best to cache the toolchain and node install steps + - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: node-version: 16 @@ -23,9 +27,6 @@ jobs: - uses: Swatinem/rust-cache@v2 - name: Install WASM toolchain run: rustup target add wasm32-unknown-unknown - - uses: actions/checkout@v3 - - name: Enter playwright-tests - run: cd playwright-tests - name: Install dependencies run: npm ci - name: Install Playwright