File tree 3 files changed +7
-29
lines changed
3 files changed +7
-29
lines changed Original file line number Diff line number Diff line change @@ -12,26 +12,15 @@ jobs:
12
12
runs-on : ubuntu-latest
13
13
strategy :
14
14
matrix :
15
- node-version : [12 .x, 14 .x]
15
+ node-version : [14 .x, 16 .x]
16
16
steps :
17
17
- uses : actions/checkout@v2
18
18
19
19
- name : Setup Node ${{ matrix.node-version }}
20
20
uses : actions/setup-node@v2
21
21
with :
22
22
node-version : ${{ matrix.node-version }}
23
-
24
- - name : Get yarn cache directory path
25
- id : yarn-cache-dir-path
26
- run : echo "::set-output name=dir::$(yarn cache dir)"
27
-
28
- - uses : actions/cache@v2
29
- id : yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
30
- with :
31
- path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
32
- key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
33
- restore-keys : |
34
- ${{ runner.os }}-yarn-
23
+ cache : ' yarn'
35
24
36
25
- name : Install dependencies
37
26
run : yarn --frozen-lockfile
Original file line number Diff line number Diff line change @@ -18,22 +18,11 @@ jobs:
18
18
19
19
- uses : actions/checkout@v2
20
20
21
- - name : Setup Node 12 .x
21
+ - name : Setup Node 14 .x
22
22
uses : actions/setup-node@v2
23
23
with :
24
- node-version : 12.x
25
-
26
- - name : Get yarn cache directory path
27
- id : yarn-cache-dir-path
28
- run : echo "::set-output name=dir::$(yarn cache dir)"
29
-
30
- - uses : actions/cache@v2
31
- id : yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
32
- with :
33
- path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
34
- key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
35
- restore-keys : |
36
- ${{ runner.os }}-yarn-
24
+ node-version : 14.x
25
+ cache : ' yarn'
37
26
38
27
- name : Install dependencies
39
28
run : yarn --frozen-lockfile
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ import { AppMixin } from './generators/app/index.js';
9
9
10
10
( async ( ) => {
11
11
try {
12
- if ( semver . lte ( process . version , '10.12 .0' ) ) {
13
- console . log ( chalk . bgRed ( '\nUh oh! Looks like you dont have Node v10.12.0 installed!\n' ) ) ;
12
+ if ( ! semver . gte ( process . version , '14.0 .0' ) ) {
13
+ console . log ( chalk . bgRed ( '\nUh oh! Looks like you dont have Node v14 installed!\n' ) ) ;
14
14
console . log ( `You can do this by going to ${ chalk . underline . blue ( `https://nodejs.org/` ) }
15
15
16
16
Or if you use nvm:
You can’t perform that action at this time.
0 commit comments