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:
parent
8d83518f9a
commit
98c51dd660
18 changed files with 9970 additions and 15506 deletions
|
@ -111,7 +111,7 @@ async function updateVersion (version) {
|
|||
|
||||
// update package metadata files with new version
|
||||
async function updatePackageJSON (version) {
|
||||
['package.json', 'package-lock.json'].forEach(async fileName => {
|
||||
['package.json'].forEach(async fileName => {
|
||||
const filePath = path.resolve(__dirname, '..', fileName)
|
||||
const file = require(filePath)
|
||||
file.version = version
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue