We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c12991 commit 7e7e1fdCopy full SHA for 7e7e1fd
.github/workflows/pull-request.yaml
@@ -0,0 +1,29 @@
1
+name: Pull Request to main
2
+
3
+on:
4
+ pull_request:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ build:
10
+ name: Build Docusaurus
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
+ with:
15
+ fetch-depth: 0
16
+ - uses: actions/setup-node@v4
17
18
+ node-version: 20
19
+ cache: npm
20
21
+ - name: Install dependencies
22
+ run: npm ci
23
+ - name: Build website
24
+ run: npm run build
25
26
+ - name: Upload Build Artifact
27
+ uses: actions/upload-pages-artifact@v3
28
29
+ path: build
0 commit comments