40
40
- uses : ljharb/actions/node/install@main
41
41
name : ' nvm install ${{ matrix.node-version }} && npm install'
42
42
with :
43
+ before_install : cd "packages/${{ matrix.package }}"
43
44
node-version : ${{ matrix.node-version }}
45
+ after_install : |
46
+ npm install --no-save "eslint@${{ matrix.eslint }}"
47
+ - run : node -pe "require('eslint/package.json').version"
48
+ name : ' eslint version'
44
49
- run : npm run travis
45
50
- uses : codecov/codecov-action@v2
46
51
74
79
- uses : ljharb/actions/node/install@main
75
80
name : ' nvm install ${{ matrix.node-version }} && npm install'
76
81
with :
82
+ before_install : cd "packages/${{ matrix.package }}"
77
83
node-version : ${{ matrix.node-version }}
78
84
after_install : |
79
85
npm install --no-save "eslint@${{ matrix.eslint }}"
86
+ - run : node -pe "require('eslint/package.json').version"
87
+ name : ' eslint version'
80
88
- run : npm install --no-save "eslint-plugin-react-hooks@${{ matrix.react-hooks }}"
81
89
if : ${{ matrix.react-hooks > 0}}
82
90
- run : npm run travis
@@ -102,11 +110,14 @@ jobs:
102
110
steps :
103
111
- uses : actions/checkout@v2
104
112
- uses : ljharb/actions/node/install@main
105
- name : ' nvm install ${{ matrix.node-version }} && npm install'
113
+ name : ' nvm install lts/* && npm install'
106
114
with :
115
+ before_install : cd "packages/${{ matrix.package }}"
107
116
node-version : lts/*
108
117
after_install : |
109
118
npm install --no-save "eslint@${{ matrix.eslint }}"
119
+ - run : node -pe "require('eslint/package.json').version"
120
+ name : ' eslint version'
110
121
- run : npm run pretravis
111
122
- run : npm run prepublish
112
123
- run : npm run posttravis
@@ -136,13 +147,16 @@ jobs:
136
147
steps :
137
148
- uses : actions/checkout@v2
138
149
- uses : ljharb/actions/node/install@main
139
- name : ' nvm install ${{ matrix.node-version }} && npm install'
150
+ name : ' nvm install lts/* && npm install'
140
151
with :
152
+ before_install : cd "packages/${{ matrix.package }}"
141
153
node-version : lts/*
142
154
after_install : |
143
155
npm install --no-save "eslint@${{ matrix.eslint }}"
144
156
- run : npm install --no-save "eslint-plugin-react-hooks@${{ matrix.react-hooks }}"
145
157
if : ${{ matrix.react-hooks > 0}}
158
+ - run : node -pe "require('eslint/package.json').version"
159
+ name : ' eslint version'
146
160
- run : npm run pretravis
147
161
- run : npm run prepublish
148
162
- run : npm run posttravis
0 commit comments