Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs: use node-version: lts/* in GHA examples (#32789)

Max Schmittb01dd556975d
diff --git a/docs/src/ci.md b/docs/src/ci.md
index 745ecc9d50..f4c11c9984 100644
--- a/docs/src/ci.md
+++ b/docs/src/ci.md
@@ -85,7 +85,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
- node-version: 18
+ node-version: lts/*
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
@@ -214,7 +214,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
- node-version: 18
+ node-version: lts/*
- name: Install dependencies
run: npm ci
- name: Run your tests
@@ -319,7 +319,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
- node-version: 18
+ node-version: lts/*
- name: Install dependencies
run: npm ci
- name: Install Playwright
@@ -434,7 +434,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
- node-version: 18
+ node-version: lts/*
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
diff --git a/docs/src/test-sharding-js.md b/docs/src/test-sharding-js.md
index d0312db811..263733e78d 100644
--- a/docs/src/test-sharding-js.md
+++ b/docs/src/test-sharding-js.md
@@ -85,7 +85,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
- node-version: 18
+ node-version: lts/*
- name: Install dependencies
run: npm ci
- name: Install Playwright browsers
@@ -118,7 +118,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
- node-version: 18
+ node-version: lts/*
- name: Install dependencies
run: npm ci