diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 720a167d6..63e28fbef 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -214,6 +214,7 @@ jobs: - run: cargo clippy --workspace --examples --tests --all-features --all-targets -- -D warnings nix: + if: github.event.pull_request.draft == false runs-on: ${{ matrix.os }} strategy: matrix: @@ -239,12 +240,6 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 16 - - name: Free Disk Space (Ubuntu) - uses: jlumbroso/free-disk-space@v1.3.1 - with: # speed things up a bit - large-packages: false - docker-images: false - swap-storage: false - name: Install Rust uses: dtolnay/rust-toolchain@master with: @@ -254,8 +249,12 @@ jobs: with: cache-all-crates: "true" cache-on-failure: "true" - key: "playwright-tests" - + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@v1.3.1 + with: # speed things up a bit + large-packages: false + docker-images: false + swap-storage: false - name: Playwright working-directory: ./packages/playwright-tests run: | @@ -263,12 +262,11 @@ jobs: npm install -D @playwright/test npx playwright install --with-deps npx playwright test - - uses: actions/upload-artifact@v4 if: always() with: name: playwright-report - path: playwright-report/ + path: ./packages/playwright-tests/playwright-report/ retention-days: 30 matrix_test: