File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Node.js CI
1+ name : CI
22
3- on : [push, pull_request ]
3+ on : [push]
44
55jobs :
66 build :
77
8+ # Machine environment:
9+ # https://help.github.com/en/articles/software-in-virtual-environments-for-github-actions#ubuntu-1804-lts
10+ # We specify the Node.js version manually below, and use versioned Chrome from Puppeteer.
811 runs-on : ubuntu-latest
912
10- strategy :
11- matrix :
12- node-version : [10.x, 12.x, 14.x]
13-
1413 steps :
15- - uses : actions/checkout@v2
16- - name : Use Node.js ${{ matrix.node-version }}
14+ - uses : actions/checkout@v1
15+ - name : Use Node.js 12.8
1716 uses : actions/setup-node@v1
1817 with :
19- node-version : ${{ matrix.node-version }}
20- - run : npm test -- --watch=false --browsers=ChromeHeadless
18+ node-version : 12.8
19+ - name : Install dependencies
20+ run : npm install
21+ - name : Build
22+ run : npm run build -- --prod
23+ - name : Test
24+ run : npm test -- --configuration=ci
You can’t perform that action at this time.
0 commit comments