@@ -183,6 +183,7 @@ module.exports.handler = async function handler(options) {
183183 push:
184184 branches:
185185 - master
186+ - main
186187 - 'v*' # older version branches
187188 tags:
188189 - '*'
@@ -200,10 +201,8 @@ module.exports.handler = async function handler(options) {
200201 - uses: actions/setup-node@v1
201202 with:
202203 node-version: 12.x
203- - name: install yarn
204- run: npm install -g yarn
205204 - name: install dependencies
206- run: yarn install
205+ run: yarn install --frozen-lockfile
207206 - name: linting
208207 run: yarn lint
209208
@@ -213,17 +212,15 @@ module.exports.handler = async function handler(options) {
213212
214213 strategy:
215214 matrix:
216- node: ['^8.12.0 ', '10 ', '12 ']
215+ node: ['10 ', '12 ', '14 ']
217216
218217 steps:
219218 - uses: actions/checkout@v1
220219 - uses: actions/setup-node@v1
221220 with:
222221 node-version: \${{ matrix.node }}
223- - name: install yarn
224- run: npm install --global yarn
225222 - name: install dependencies
226- run: yarn
223+ run: yarn install --frozen-lockfile
227224 - name: test
228225 run: yarn test
229226
@@ -236,8 +233,6 @@ module.exports.handler = async function handler(options) {
236233 - uses: actions/setup-node@v1
237234 with:
238235 node-version: '12.x'
239- - name: install yarn
240- run: npm install -g yarn
241236 - name: install dependencies
242237 run: yarn install --no-lockfile
243238 - name: test
0 commit comments