set working dir for playwright

This commit is contained in:
Jonathan Kelley committed 2024-01-08 15:51:26 -08:00
1 parent 9443826229
commit 8bb9bccca5
1 file changed
+12 -2
+12 -2
View File
@@ -145,22 +145,32 @@ jobs:
toolchain: stable
targets: x86_64-unknown-linux-gnu,wasm32-unknown-unknown
- uses: mozilla-actions/sccache-action@v0.0.3
- run: cd playwright-tests
- uses: actions/checkout@v4
- name: Install dependencies
run: npm ci
working-directory: ./playwright-tests
- name: Install Playwright
run: npm install -D @playwright/test
working-directory: ./playwright-tests
- name: Install Playwright Browsers
run: npx playwright install --with-deps
working-directory: ./playwright-tests
# Cache the CLI by using cargo run internally
# - name: Install Dioxus CLI
# uses: actions-rs/cargo@v1
# with:
# command: install
# args: --path packages/cli
- uses: actions/checkout@v4
- name: Run Playwright tests
run: npx playwright test
working-directory: ./playwright-tests
- uses: actions/upload-artifact@v4
if: always()
with: