diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 61d8acd28..77a4b5243 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -52,7 +52,7 @@ jobs: npm version --no-commit-hooks --no-git-tag-version \ "${{ needs.release-pr.outputs.new-version }}" - name: Install dependencies - run: npm i + run: npm i --ignore-scripts --no-audit --no-fund - name: Update major version in CDN URLs run: node ./scripts/release/update-cdn-urls.js - name: Update SVGs count milestone diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 627c9e570..7158e9541 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,7 +18,7 @@ jobs: cache: npm cache-dependency-path: '**/package.json' - name: Install dependencies - run: npm i + run: npm i --ignore-scripts --no-audit --no-fund - name: Run linters run: npm run lint - name: Build NodeJS package @@ -41,7 +41,7 @@ jobs: - id: get-version uses: ./.github/actions/get-version - name: Install dependencies - run: npm i + run: npm i --ignore-scripts --no-audit --no-fund - name: Reformat to regular markdown run: node ./scripts/release/reformat-markdown.js "${{ steps.get-version.outputs.version }}" - name: Update SDK Typescript definitions diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 90235ea0f..449871f76 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -15,7 +15,7 @@ jobs: cache: npm cache-dependency-path: '**/package.json' - name: Install dependencies - run: npm i + run: npm i --ignore-scripts --no-audit --no-fund - name: Build NodeJS package run: npm run build lint: @@ -43,7 +43,7 @@ jobs: - 'icons/*.svg' token: ${{ secrets.GITHUB_TOKEN }} - name: Install dependencies - run: npm i + run: npm i --ignore-scripts --no-audit --no-fund - name: Run linter run: npm run lint --icons='${{ steps.changes.outputs.icons_files }}' env: @@ -87,6 +87,6 @@ jobs: cache: npm cache-dependency-path: '**/package.json' - name: Install dependencies - run: npm i + run: npm i --ignore-scripts --no-audit --no-fund - name: Run tests run: npm run test diff --git a/Dockerfile b/Dockerfile index 9f5ada103..fa75c7a96 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ RUN apk add --no-cache \ WORKDIR /simple-icons COPY package.json /simple-icons/ -RUN npm install --ignore-scripts +RUN npm install --ignore-scripts --no-audit --no-fund COPY . . diff --git a/package.json b/package.json index 6080ca954..0cf7ab580 100644 --- a/package.json +++ b/package.json @@ -116,7 +116,7 @@ "jsonlint": "node scripts/lint/jsonlint.js", "svglint": "svglint --ci $npm_config_icons", "wslint": "editorconfig-checker", - "prepare": "node -e 'process.exit(!!process.env.CI ? 0 : 1)' || husky", + "prepare": "husky", "prepublishOnly": "npm run build", "postpublish": "npm run clean", "test": "mocha tests --reporter tests/min-reporter.cjs --inline-diffs",