We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4529fe9 + 1ed1301 commit 7f0818eCopy full SHA for 7f0818e
.github/workflows/ci.yml
@@ -13,10 +13,14 @@ jobs:
13
- name: Begin CI...
14
uses: actions/checkout@v2
15
16
- - name: Use Node 12
17
- uses: actions/setup-node@v1
+ - name: Read .nvmrc
+ run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"
18
+ id: nvm
19
+
20
+ - name: Use Node.js (.nvmrc)
21
+ uses: actions/setup-node@v2
22
with:
- node-version: 12.x
23
+ node-version: "${{ steps.nvm.outputs.NVMRC }}"
24
25
- name: Use cached node_modules
26
uses: actions/cache@v1
@@ -25,6 +29,7 @@ jobs:
29
key: nodeModules-${{ hashFiles('**/yarn.lock') }}
30
restore-keys: |
27
31
nodeModules-
32
28
33
- name: Install dependencies
34
run: yarn install --frozen-lockfile
35
env:
0 commit comments