File tree Expand file tree Collapse file tree 4 files changed +60
-15788
lines changed Expand file tree Collapse file tree 4 files changed +60
-15788
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ updates :
3
+ - package-ecosystem : " npm"
4
+ directory : " /"
5
+ assignees :
6
+ - " s0ph1e"
7
+ - " aivus"
8
+ open-pull-requests-limit : 10
9
+ schedule :
10
+ interval : " weekly"
11
+ - package-ecosystem : " github-actions"
12
+ directory : " /"
13
+ assignees :
14
+ - " aivus"
15
+ schedule :
16
+ interval : " weekly"
Original file line number Diff line number Diff line change
1
+ name : Build and Test
2
+
3
+ on :
4
+ workflow_dispatch : ~
5
+ push :
6
+ branches : [ main ]
7
+ pull_request :
8
+ branches : [ main ]
9
+
10
+ jobs :
11
+ build_and_test :
12
+ name : Build and Test
13
+ runs-on : ${{ matrix.os }}
14
+ strategy :
15
+ fail-fast : false
16
+ matrix :
17
+ node-version :
18
+ - 16
19
+ - 18
20
+ - 20
21
+ - current
22
+ os :
23
+ - ubuntu-latest
24
+ - windows-latest
25
+ include :
26
+ - node-version : 20
27
+ os : macos-latest
28
+ steps :
29
+ - uses : actions/checkout@v4
30
+ - name : Use Node.js ${{ matrix.node-version }}
31
+ uses : actions/setup-node@v4
32
+ with :
33
+ node-version : ${{ matrix.node-version }}
34
+ - name : Install dependencies
35
+ run : npm i
36
+ - name : Build the app
37
+ run : npm run build
38
+ - name : Start the app in production mode
39
+ run : npm run start:prod &
40
+ - name : Wait for the app to start
41
+ run : sleep 5
42
+ - name : Check that
43
+ run : curl -sSf http://localhost:3000 > /dev/null
Original file line number Diff line number Diff line change @@ -26,5 +26,6 @@ $ npm run start
26
26
$ npm run start:dev
27
27
28
28
# production mode
29
+ $ npm run build
29
30
$ npm run start:prod
30
31
```
You can’t perform that action at this time.
0 commit comments