diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 861efa490df..27ce5bdc01e 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -20,7 +20,7 @@ jobs: cache-dependency-path: 'npm-shrinkwrap.json' check-latest: true - name: Install dependencies - run: npm install --production --no-audit + run: npm ci --no-audit - name: Get size run: du -sk node_modules | cut -f1 > .delta.packageSize && echo "kb (Package size)" >> .delta.packageSize - name: Run Delta diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 5ef985537e9..2dfdc538bb0 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -16979,9 +16979,9 @@ } }, "node_modules/rollup": { - "version": "2.63.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.63.0.tgz", - "integrity": "sha512-nps0idjmD+NXl6OREfyYXMn/dar3WGcyKn+KBzPdaLecub3x/LrId0wUcthcr8oZUAcZAR8NKcfGGFlNgGL1kQ==", + "version": "2.64.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.64.0.tgz", + "integrity": "sha512-+c+lbw1lexBKSMb1yxGDVfJ+vchJH3qLbmavR+awDinTDA2C5Ug9u7lkOzj62SCu0PKUExsW36tpgW7Fmpn3yQ==", "bin": { "rollup": "dist/bin/rollup" }, @@ -32592,9 +32592,9 @@ } }, "rollup": { - "version": "2.63.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.63.0.tgz", - "integrity": "sha512-nps0idjmD+NXl6OREfyYXMn/dar3WGcyKn+KBzPdaLecub3x/LrId0wUcthcr8oZUAcZAR8NKcfGGFlNgGL1kQ==", + "version": "2.64.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.64.0.tgz", + "integrity": "sha512-+c+lbw1lexBKSMb1yxGDVfJ+vchJH3qLbmavR+awDinTDA2C5Ug9u7lkOzj62SCu0PKUExsW36tpgW7Fmpn3yQ==", "requires": { "fsevents": "~2.3.2" } diff --git a/package.json b/package.json index c0aaaf98421..9aa19197881 100644 --- a/package.json +++ b/package.json @@ -42,6 +42,7 @@ "url": "https://github.com/netlify/cli/issues" }, "scripts": { + "prepare": "husky install node_modules/@netlify/eslint-config-node/.husky/", "prepublishOnly": "run-s prepublishOnly:*", "prepublishOnly:test": "run-local \"npm test\"", "start": "node ./bin/run", @@ -221,11 +222,5 @@ "failWithoutAssertions": false, "tap": false, "timeout": "5m" - }, - "husky": { - "hooks": { - "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", - "pre-push": "npm run format" - } } }