File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed
Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change 1- name : Node CI
1+ name : CI
22
33# Triggers the workflow on push or pull request events but only for the master branch
44on :
1717 steps :
1818 - name : checkout
1919 uses : actions/checkout@v2
20+
21+ - name : Use Node.js ${{ matrix.node-version }}
22+ uses : actions/setup-node@v2
23+ with :
24+ node-version : ${{ matrix.node-version }}
2025
2126 - name : cache yarn.lock
2227 uses : actions/cache@v2
4954 needs : [setup]
5055 steps :
5156 - uses : actions/checkout@v2
52-
57+
58+ - name : Use Node.js ${{ matrix.node-version }}
59+ uses : actions/setup-node@v2
60+ with :
61+ node-version : ${{ matrix.node-version }}
62+
5363 - name : Restore cache from yarn.lock
5464 uses : actions/cache@v2
5565 with :
7282 needs : [setup]
7383 steps :
7484 - uses : actions/checkout@v2
85+
86+ - name : Use Node.js ${{ matrix.node-version }}
87+ uses : actions/setup-node@v2
88+ with :
89+ node-version : ${{ matrix.node-version }}
7590
7691 - name : Restore cache from yarn.lock
7792 uses : actions/cache@v2
You can’t perform that action at this time.
0 commit comments