build: ensure consistent lock files across multiple machines (#17955)

* build: ensure consistent package-lock across multiple machines

* build: fix linting errors and use npm ci instead of npm install

* build: use a yarn.lock and yarn instead of package-lock and npm

* chore: replace package-lock.json files with yarn.lock

* chore: replace last instance of `npm install`
This commit is contained in:
Samuel Attard 2019-04-30 13:59:47 -07:00 committed by GitHub
parent 8d83518f9a
commit 98c51dd660
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 9970 additions and 15506 deletions

View file

@ -144,7 +144,9 @@ async function findChangedFiles (top) {
async function findMatchingFiles (top, test) {
return new Promise((resolve, reject) => {
const matches = []
klaw(top)
klaw(top, {
filter: f => path.basename(f) !== '.bin'
})
.on('end', () => resolve(matches))
.on('data', item => {
if (test(item.path)) {