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