Skip to content

Commit

Permalink
chore: fix the ci job
Browse files Browse the repository at this point in the history
fix the integration test ci job. lock the ubuntu version
  • Loading branch information
simeng-li committed Jan 23, 2025
1 parent 657a485 commit c67ae41
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ jobs:
matrix:
target: [api, experience, console]
needs: package
runs-on: ubuntu-latest
# An error will occur if we use a newer version of Ubuntu in the CI environment, as it has restrictions on unprivileged user namespaces and sandbox usage, which prevents Chromium (used by Puppeteer) from launching properly during integration tests. So we lock the Ubuntu version to 22.04.
# See error record: https://github.com/logto-io/logto/actions/runs/12803809008/job/35697654974
runs-on: ubuntu-22.04
env:
INTEGRATION_TEST: true
DEV_FEATURES_ENABLED: false
Expand All @@ -84,7 +86,9 @@ jobs:
rerun-on-failure:
needs: run-logto
if: failure() && fromJSON(github.run_attempt) < 3
runs-on: ubuntu-latest
# An error will occur if we use a newer version of Ubuntu in the CI environment, as it has restrictions on unprivileged user namespaces and sandbox usage, which prevents Chromium (used by Puppeteer) from launching properly during integration tests. So we lock the Ubuntu version to 22.04.
# See error record: https://github.com/logto-io/logto/actions/runs/12803809008/job/35697654974
runs-on: ubuntu-22.04
steps:
- env:
GH_REPO: ${{ github.repository }}
Expand Down

0 comments on commit c67ae41

Please sign in to comment.