diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e9373585a..69f8d09bc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,7 @@ jobs: with: node-version: ${{matrix.node}} - run: npm -v - - run: npm ci + - run: npm ci --update-notifier=false - run: npm run type-check - run: | npm run generate-types diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 812d81d56..9c018f4dc 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -22,7 +22,7 @@ jobs: with: node-version: ${{matrix.node}} - run: npm -v - - run: npm ci + - run: npm ci --update-notifier=false - name: Run jest coverage run: | set -o pipefail diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index d2aeaf945..739d57fe9 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -22,7 +22,7 @@ jobs: with: node-version: ${{matrix.node}} - run: npm -v - - run: npm ci + - run: npm ci --update-notifier=false - name: Run commitlint on last commit if: github.ref != 'refs/heads/master' run: | diff --git a/.github/workflows/optimisation.yml b/.github/workflows/optimisation.yml index 315604b24..7390dd672 100644 --- a/.github/workflows/optimisation.yml +++ b/.github/workflows/optimisation.yml @@ -22,7 +22,7 @@ jobs: with: node-version: ${{matrix.node}} - run: npm -v - - run: npm ci + - run: npm ci --update-notifier=false - name: Run svgo and check for missed optimisations run: | npm run svgo diff --git a/package.json b/package.json index 64494ad6b..213471bb6 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "generate-types": "node ./scripts/generate-types/generateTypes.js", "copy-types": "npm run generate-types -- -c", "type-check": "tsc --allowSyntheticDefaultImports --noemit", - "deps": "ADBLOCK=true DISABLE_OPENCOLLECTIVE=true npm ci", + "deps": "ADBLOCK=true DISABLE_OPENCOLLECTIVE=true npm ci --update-notifier=false", "dist:prod": "cross-env NODE_ENV=dist node ./scripts/build.js", "dist:lib": "cross-env NODE_ENV=cjs node ./scripts/babel-build.js", "dist:es": "cross-env NODE_ENV=esm node ./scripts/babel-build.js", @@ -33,7 +33,7 @@ "prettier": "prettier \"{src,www,config}/**/*.{js,json,jsx,md,mdx,css}\" --write", "svgo": "svgo --recursive --multipass --folder=src --config=svgo-config.js", "postversion": "git push -u origin $(git rev-parse --abbrev-ref HEAD) --follow-tags && npm publish && echo '…released.'", - "preversion": "echo 'Releasing…' && ADBLOCK=true DISABLE_OPENCOLLECTIVE=true npm ci", + "preversion": "echo 'Releasing…' && ADBLOCK=true DISABLE_OPENCOLLECTIVE=true npm ci --update-notifier=false", "release:major": "npm version major -m 'build: release major version %s'", "release:minor": "npm version minor -m 'build: release minor version %s'", "release:patch": "npm version patch -m 'build: release patch version %s'",