File tree Expand file tree Collapse file tree 1 file changed +11
-19
lines changed Expand file tree Collapse file tree 1 file changed +11
-19
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 : Node.js CI
1+ name : CI
52
63on : [push, pull_request]
74
85jobs :
96 build :
10- name : Tests - ${{ matrix.os }} - Node.js v${{ matrix.node-version }}
11-
12- runs-on : ${{ matrix.os }}
7+ name : Generate build and check code formatting
138
14- strategy :
15- matrix :
16- os : [ubuntu-latest, macos-latest]
17- node-version : [12.x, 13.x, 14.x]
9+ runs-on : ubuntu-latest
1810
1911 steps :
20- - uses : actions/checkout@v2
21- - name : Use Node.js ${{ matrix.node-version }}
22- uses : actions/setup-node@v1
23- with :
24- node-version : ${{ matrix. node-version }}
25- - run : npm ci
26- - run : npm run format:check
27- - run : npm run build
12+ - uses : actions/checkout@v2
13+ - name : Use Node.js 12.x
14+ uses : actions/setup-node@v1
15+ with :
16+ node-version : 12
17+ - run : npm ci
18+ - run : npm run format:check
19+ - run : npm run build
You can’t perform that action at this time.
0 commit comments