File tree Expand file tree Collapse file tree 1 file changed +11
-18
lines changed Expand file tree Collapse file tree 1 file changed +11
-18
lines changed Original file line number Diff line number Diff line change 33
44name : Node.js CI
55
6+ name : CI
7+
8+ # Controls when the action will run. Triggers the workflow on push or pull request
9+ # events but only for the master branch
610on :
711 push :
812 branches : [ master ]
9- pull_request :
10- branches : [ master ]
11-
13+
1214jobs :
13- build :
14-
15+ deploy :
1516 runs-on : ubuntu-latest
16-
17- strategy :
18- matrix :
19- node-version : [10.x, 12.x, 14.x]
20-
2117 steps :
22- - uses : actions/checkout@v2
23- - name : Use Node.js ${{ matrix.node-version }}
24- uses : actions/setup-node@v1
25- with :
26- node-version : ${{ matrix.node-version }}
27- - run : node createEnv.js
28- - run : yarn install
29- - run : yarn deploy
18+ - uses : actions/checkout@master
19+ - name : Install Dependencies
20+ run : yarn install
21+ - name : Build
22+ run : yarn build
You can’t perform that action at this time.
0 commit comments