Skip to content

Commit

Permalink
fix(playwright): bring ubuntu version to 22 to avoid installation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
lexasq committed Dec 20, 2024
1 parent 403c763 commit 162b1a1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/on-push-or-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

# install dependencies
install:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: one_run
steps:
- uses: actions/checkout@v3
Expand All @@ -50,7 +50,7 @@ jobs:
# build ngx-bootstrap
build:
needs: install
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
Expand All @@ -71,7 +71,7 @@ jobs:
# run unit tests
unit_tests_with_coverage:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: build
steps:
- uses: actions/checkout@v3
Expand All @@ -90,7 +90,7 @@ jobs:

# run linting
linting:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: install
steps:
- uses: actions/checkout@v3
Expand All @@ -103,7 +103,7 @@ jobs:

# firebase deploy preview
firebase_preview:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: build
outputs:
output_url: ${{ steps.firebase_hosting_preview.outputs.details_url }}
Expand All @@ -126,7 +126,7 @@ jobs:
# run playwright
e2e_smoke:
name: e2e smoke (${{ matrix.shard }}/${{ strategy.job-total }})
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [install, build, firebase_preview]

strategy:
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:

e2e_full:
name: e2e full
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [e2e_smoke]

strategy:
Expand Down

0 comments on commit 162b1a1

Please sign in to comment.