File tree Expand file tree Collapse file tree 2 files changed +28
-30
lines changed
Expand file tree Collapse file tree 2 files changed +28
-30
lines changed Original file line number Diff line number Diff line change @@ -3,29 +3,28 @@ name: Client Code style (prettier, lint)
33
44on :
55 push :
6- branches : [ develop, main ]
6+ branches : [develop, main]
77 pull_request :
8- branches : [ develop, main ]
8+ branches : [develop, main]
99
1010jobs :
1111 build :
12-
1312 runs-on : ubuntu-latest
1413
1514 strategy :
1615 matrix :
17- node-version : [16 .x]
16+ node-version : [22 .x]
1817 # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
1918 # Note: keep this the same as the version on Heroku!
2019
2120 steps :
22- - uses : actions/checkout@v2
23- - name : Use Node.js ${{ matrix.node-version }}
24- uses : actions/setup-node@v2
25- with :
26- node-version : ${{ matrix.node-version }}
27- cache : ' npm'
28- - run : npm ci
29- working-directory : client
30- - run : npm run code-style-check
31- working-directory : client
21+ - uses : actions/checkout@v2
22+ - name : Use Node.js ${{ matrix.node-version }}
23+ uses : actions/setup-node@v2
24+ with :
25+ node-version : ${{ matrix.node-version }}
26+ cache : " npm"
27+ - run : npm ci
28+ working-directory : client
29+ - run : npm run code-style-check
30+ working-directory : client
Original file line number Diff line number Diff line change @@ -3,30 +3,29 @@ name: Server tests
33
44on :
55 push :
6- branches : [ develop, main ]
6+ branches : [develop, main]
77 pull_request :
8- branches : [ develop, main ]
8+ branches : [develop, main]
99
1010jobs :
1111 build :
12-
1312 runs-on : ubuntu-latest
1413
1514 strategy :
1615 matrix :
17- node-version : [16 .x]
16+ node-version : [22 .x]
1817 # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
1918
2019 steps :
21- - uses : actions/checkout@v2
22- - name : Use Node.js ${{ matrix.node-version }}
23- uses : actions/setup-node@v2
24- with :
25- node-version : ${{ matrix.node-version }}
26- cache : ' npm'
27- - name : Install dependencies
28- run : npm ci
29- working-directory : server
30- - name : Run tests
31- run : npm test
32- working-directory : server
20+ - uses : actions/checkout@v2
21+ - name : Use Node.js ${{ matrix.node-version }}
22+ uses : actions/setup-node@v2
23+ with :
24+ node-version : ${{ matrix.node-version }}
25+ cache : " npm"
26+ - name : Install dependencies
27+ run : npm ci
28+ working-directory : server
29+ - name : Run tests
30+ run : npm test
31+ working-directory : server
You can’t perform that action at this time.
0 commit comments