File tree Expand file tree Collapse file tree 6 files changed +2524
-172
lines changed
src/Elastic.Documentation.Site Expand file tree Collapse file tree 6 files changed +2524
-172
lines changed Original file line number Diff line number Diff line change 37
37
38
38
build-api-lambda :
39
39
uses : ./.github/workflows/build-api-lambda.yml
40
+
40
41
42
+ synthetics :
43
+ runs-on : ubuntu-latest
44
+ steps :
45
+ - uses : actions/checkout@v5
46
+
47
+ - name : Bootstrap Action Workspace
48
+ id : bootstrap
49
+ uses : ./.github/actions/bootstrap
50
+
51
+ - name : Install dependencies
52
+ working-directory : src/Elastic.Documentation.Site
53
+ run : npm ci
54
+
55
+ - name : Run assembler
56
+ run : |
57
+ mkdir ../assembler-workspace
58
+ cd ../assembler-workspace
59
+ dotnet run --project ../docs-builder/src/tooling/docs-builder -- assembler config init --local
60
+ dotnet run --project ../docs-builder/src/tooling/docs-builder -- assembler clone -c local --skip-private-repositories
61
+ dotnet run --project ../docs-builder/src/tooling/docs-builder -- assembler build -c local --skip-private-repositories
62
+ dotnet run --project ../docs-builder/src/tooling/docs-builder -- assembler serve &
63
+
64
+ - name : Wait for docs
65
+ working-directory : src/Elastic.Documentation.Site
66
+ run : npx wait-on http-get://localhost:4000/docs
67
+
68
+ - name : Run synthetics
69
+ working-directory : src/Elastic.Documentation.Site
70
+ run : npm run synthetics:test
71
+
41
72
npm :
42
73
runs-on : ubuntu-latest
43
74
defaults :
Original file line number Diff line number Diff line change @@ -397,3 +397,6 @@ FodyWeavers.xsd
397
397
398
398
# JetBrains Rider
399
399
* .sln.iml
400
+
401
+ # Elastic synthetics
402
+ .synthetics /
You can’t perform that action at this time.
0 commit comments