File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 1- # .github/workflows/test-preview.yml
21name : Playwright + Argos Tests
32
43on :
@@ -26,30 +25,36 @@ jobs:
2625 runs-on : ubuntu-latest
2726
2827 steps :
29- # Step 1: Check out the repository
28+ - name : Set up Node.js
29+ uses : actions/setup-node@v4
30+ with :
31+ node-version : ' 20.18.0'
32+ cache : ' yarn'
33+
34+ # Step 2: Check out the repository
3035 - name : Check out docs repo
3136 uses : actions/checkout@v4
3237 with :
3338 repository : ClickHouse/clickhouse-docs
3439 path : ./
3540
36- # Step 2 : Download reference docs
41+ # Step 3 : Download reference docs
3742 - name : Download Reference Docs
3843 run : |
3944 curl https://codeload.github.com/ClickHouse/ClickHouse/tar.gz/master | tar -xz -C ./ --strip=2 "ClickHouse-master/docs/"
4045 cp -R ./en docs/
4146 cp -R ./ru docs/
4247 cp -R ./zh docs/
4348
44- # Step 3 : Install dependencies and build the site
49+ # Step 4 : Install dependencies and build the site
4550 - name : Install and build
4651 run : |
4752 export NODE_OPTIONS="--max_old_space_size=4096"
4853 npm install -g yarn
4954 yarn install
5055 yarn build
5156
52- # Step 4 : Run Playwright tests
57+ # Step 5 : Run Playwright tests
5358 - name : Run Playwright tests
5459 run : yarn playwright test
5560 env :
You can’t perform that action at this time.
0 commit comments