File tree 2 files changed +46
-20
lines changed
2 files changed +46
-20
lines changed Original file line number Diff line number Diff line change @@ -1008,23 +1008,3 @@ jobs:
1008
1008
fi
1009
1009
done
1010
1010
echo "No incompatible licenses detected"
1011
- meticulous :
1012
- runs-on : ubuntu-latest
1013
- steps :
1014
- - name : " Checkout Repository"
1015
- uses : actions/checkout@v4
1016
- - name : Setup Node
1017
- uses : ./.github/actions/setup-node
1018
- - name : Build
1019
- working-directory : ./site
1020
- run : pnpm build
1021
- - name : Serve
1022
- working-directory : ./site
1023
- run : |
1024
- pnpm vite preview &
1025
- sleep 5
1026
- - name : Run Meticulous tests
1027
- uses : alwaysmeticulous/report-diffs-action/cloud-compute@v1
1028
- with :
1029
- api-token : ${{ secrets.METICULOUS_API_TOKEN }}
1030
- app-url : " http://127.0.0.1:4173/"
Original file line number Diff line number Diff line change
1
+ # Workflow for serving the webapp locally & running Meticulous tests against it.
2
+
3
+ name : Meticulous
4
+
5
+ on :
6
+ push :
7
+ branches :
8
+ - main
9
+ paths :
10
+ - " site/**"
11
+ pull_request :
12
+ paths :
13
+ - " site/**"
14
+ # Meticulous needs the workflow to be triggered on workflow_dispatch events,
15
+ # so that Meticulous can run the workflow on the base commit to compare
16
+ # against if an existing workflow hasn't run.
17
+ workflow_dispatch :
18
+
19
+ permissions :
20
+ actions : write
21
+ contents : read
22
+ issues : write
23
+ pull-requests : write
24
+ statuses : read
25
+
26
+ jobs :
27
+ meticulous :
28
+ runs-on : ubuntu-latest
29
+ steps :
30
+ - name : " Checkout Repository"
31
+ uses : actions/checkout@v4
32
+ - name : Setup Node
33
+ uses : ./.github/actions/setup-node
34
+ - name : Build
35
+ working-directory : ./site
36
+ run : pnpm build
37
+ - name : Serve
38
+ working-directory : ./site
39
+ run : |
40
+ pnpm vite preview &
41
+ sleep 5
42
+ - name : Run Meticulous tests
43
+ uses : alwaysmeticulous/report-diffs-action/cloud-compute@v1
44
+ with :
45
+ api-token : ${{ secrets.METICULOUS_API_TOKEN }}
46
+ app-url : " http://127.0.0.1:4173/"
You can’t perform that action at this time.
0 commit comments