File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2
+ # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3
+
4
+ name : Lint
5
+
6
+ on : [pull_request]
7
+
8
+ jobs :
9
+ lint :
10
+
11
+ runs-on : ubuntu-latest
12
+
13
+ strategy :
14
+ matrix :
15
+ node-version : [10.x, 12.x, 14.x, 15.x]
16
+ # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
17
+
18
+ steps :
19
+ - uses : actions/checkout@v2
20
+ - name : Use Node.js ${{ matrix.node-version }}
21
+ uses : actions/setup-node@v1
22
+ with :
23
+ node-version : ${{ matrix.node-version }}
24
+ - run : npm ci
25
+ - run : npm run lint
You can’t perform that action at this time.
0 commit comments