Move order around, set default working directory

This commit is contained in:
Jonathan Kelley 2023-07-19 10:03:28 -07:00
parent f51b0099dd
commit da21e5f4c1
No known key found for this signature in database
GPG key ID: 1FBB50F7EB0A08BE

View file

@ -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