diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ae7782983..51b216ee1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,19 +11,15 @@ jobs: test: timeout-minutes: 60 runs-on: ubuntu-latest + container: + image: ghcr.io/serenity-js/playwright:v1.56.1-noble steps: - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 - uses: actions/setup-node@v6 with: node-version: '22.21.1' - - uses: actions/setup-java@v5 - with: - distribution: 'temurin' - java-version: '17' - name: Setup Node Modules uses: bahmutov/npm-install@v1 - - name: Install Playwright Browsers - run: npx playwright install --with-deps - name: Run Playwright tests run: npm test - uses: actions/upload-artifact@v5 diff --git a/package.json b/package.json index acb16335a..c5db3d3ea 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ }, "homepage": "https://serenity-js.org", "engines": { - "node": "^18.12 || ^20 || ^22" + "node": "^20 || ^22 || ^24" }, "dependencies": { "@playwright/test": "1.56.1",