Skip to content

Commit f3c74d9

Browse files
committed
add back playwright
1 parent f4ebffa commit f3c74d9

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/test-preview.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,13 @@ jobs:
3131
repository: ClickHouse/clickhouse-docs
3232
path: ./
3333

34+
# Step 2: Log url
3435
- name: Log BASE_URL
3536
run: echo "BASE_URL=${{ github.event.deployment_status.environment_url }}"
3637
env:
3738
BASE_URL: ${{ github.event.deployment_status.environment_url }}
3839

39-
# Step 2: Setup node
40+
# Step 3: Setup node
4041
- name: Set up Node.js
4142
uses: actions/setup-node@v4
4243
with:
@@ -50,13 +51,12 @@ jobs:
5051
npm install -g yarn
5152
yarn install
5253
53-
# Step 3: Run Playwright tests
54-
# - name: Run Playwright tests
55-
# run: yarn playwright test
56-
# env:
57-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
58-
# BASE_URL: ${{ github.event.deployment_status.environment_url }}
59-
# ARGOS_BRANCH: ${{ github.event.deployment_status.environment == 'Production' && 'main' || github.ref_name }}
60-
# CI: true
61-
# ARGOS_TOKEN: ${{ secrets.ARGOS_TOKEN }}
62-
54+
# Step 5: Run Playwright tests
55+
- name: Run Playwright tests
56+
run: yarn playwright test
57+
env:
58+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59+
BASE_URL: ${{ github.event.deployment_status.environment_url }}
60+
ARGOS_BRANCH: ${{ github.event.deployment_status.environment == 'Production' && 'main' || github.ref_name }}
61+
CI: true
62+
ARGOS_TOKEN: ${{ secrets.ARGOS_TOKEN }}

0 commit comments

Comments
 (0)