@@ -22,15 +22,12 @@ jobs:
22
22
runs-on : ubuntu-latest
23
23
needs :
24
24
- prepare
25
- strategy :
26
- matrix :
27
- node-version : [16.x, 18.x, 20.x]
28
25
steps :
29
26
- uses : actions/checkout@v3
30
- - name : Use Node.js ${{ matrix.node-version }}
27
+ - name : Use Node.js
31
28
uses : actions/setup-node@v3
32
29
with :
33
- node-version : ${{ matrix.node-version }}
30
+ node-version-file : ' .nvmrc '
34
31
cache : ' yarn'
35
32
- run : yarn --immutable --immutable-cache
36
33
- run : yarn build:source
@@ -47,15 +44,12 @@ jobs:
47
44
runs-on : ubuntu-latest
48
45
needs :
49
46
- prepare
50
- strategy :
51
- matrix :
52
- node-version : [16.x, 18.x, 20.x]
53
47
steps :
54
48
- uses : actions/checkout@v3
55
- - name : Use Node.js ${{ matrix.node-version }}
49
+ - name : Use Node.js
56
50
uses : actions/setup-node@v3
57
51
with :
58
- node-version : ${{ matrix.node-version }}
52
+ node-version-file : ' .nvmrc '
59
53
cache : ' yarn'
60
54
- run : yarn --immutable --immutable-cache
61
55
- run : yarn build:types
@@ -72,15 +66,12 @@ jobs:
72
66
runs-on : ubuntu-latest
73
67
needs :
74
68
- prepare
75
- strategy :
76
- matrix :
77
- node-version : [16.x, 18.x, 20.x]
78
69
steps :
79
70
- uses : actions/checkout@v3
80
- - name : Use Node.js ${{ matrix.node-version }}
71
+ - name : Use Node.js
81
72
uses : actions/setup-node@v3
82
73
with :
83
- node-version : ${{ matrix.node-version }}
74
+ node-version-file : ' .nvmrc '
84
75
cache : ' yarn'
85
76
- run : yarn --immutable --immutable-cache
86
77
- run : yarn lint
0 commit comments