File tree Expand file tree Collapse file tree 1 file changed +5
-41
lines changed Expand file tree Collapse file tree 1 file changed +5
-41
lines changed Original file line number Diff line number Diff line change @@ -3,56 +3,20 @@ name: Commit workflow
3
3
on : [push, pull_request]
4
4
5
5
jobs :
6
- linux-setup-and-tests :
7
- runs-on : ubuntu-latest
8
- defaults :
9
- run :
10
- working-directory : ./frontend/peerprep
11
- strategy :
12
- matrix :
13
- node-version : [20.x]
14
- steps :
15
- - uses : actions/checkout@v3
16
- - name : Setup and tests with Node.js ${{ matrix.node-version }}
17
- uses : actions/setup-node@v3
18
- with :
19
- node-version : ${{ matrix.node-version }}
20
- - run : npm install
21
- - run : npm run lint
22
- - run : npm run build
23
-
24
- macos-setup-and-tests :
25
- runs-on : macos-latest
26
- defaults :
27
- run :
28
- working-directory : ./frontend/peerprep
6
+ build :
29
7
strategy :
30
8
matrix :
9
+ os : [ubuntu-latest, macos-latest, windows-latest]
31
10
node-version : [20.x]
32
- steps :
33
- - uses : actions/checkout@v3
34
- - name : Setup and tests with Node.js ${{ matrix.node-version }}
35
- uses : actions/setup-node@v3
36
- with :
37
- node-version : ${{ matrix.node-version }}
38
- - run : npm install
39
- - run : npm run lint
40
- - run : npm run build
41
-
42
- windows-setup-and-tests :
43
- runs-on : windows-latest
11
+ runs-on : ${{ matrix.os }}
44
12
defaults :
45
13
run :
46
14
working-directory : ./frontend/peerprep
47
- strategy :
48
- matrix :
49
- node-version : [20.x]
50
15
steps :
51
16
- uses : actions/checkout@v3
52
- - name : Setup and tests with Node.js ${{ matrix.node-version }}
53
- uses : actions/setup-node@v3
17
+ - uses : actions/setup-node@v3
54
18
with :
55
19
node-version : ${{ matrix.node-version }}
56
- - run : npm install
20
+ - run : npm ci
57
21
- run : npm run lint
58
22
- run : npm run build
You can’t perform that action at this time.
0 commit comments