From 77d87986892ee40f8e370325a492783a899fc3a3 Mon Sep 17 00:00:00 2001 From: Hovhannes Babayan Date: Mon, 24 Mar 2025 12:44:02 +0400 Subject: [PATCH] chore: update npm ci commands to include --no-fund and --no-audit --- .github/workflows/publish.yml | 4 ++-- .github/workflows/verify.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 12f76cf..c1c8f53 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -36,7 +36,7 @@ jobs: cache: 'npm' registry-url: 'https://registry.npmjs.org' scope: '@workfront' - - run: npm ci + - run: npm ci --no-fund --no-audit - name: Bump package version run: | git config --global user.name 'github-actions[bot]' @@ -52,7 +52,7 @@ jobs: - name: Draft release run: | VERSION=$(node -p "require('./package.json').version") - gh release create $VERSION --generate-notes --draft + gh release create v$VERSION --generate-notes --draft --verify-tag --fail-on-no-commits env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} VERSION: ${{ inputs.next_version }} diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index ec2813c..68002af 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -20,7 +20,7 @@ jobs: cache: 'npm' registry-url: 'https://registry.npmjs.org' scope: '@workfront' - - run: npm ci + - run: npm ci --no-fund --no-audit - run: npm run build test: runs-on: ubuntu-latest @@ -32,7 +32,7 @@ jobs: cache: 'npm' registry-url: 'https://registry.npmjs.org' scope: '@workfront' - - run: npm ci + - run: npm ci --no-fund --no-audit - run: npm run test:sources -- --ci - uses: codecov/codecov-action@v4 with: @@ -49,5 +49,5 @@ jobs: cache: 'npm' registry-url: 'https://registry.npmjs.org' scope: '@workfront' - - run: npm ci + - run: npm ci --no-fund --no-audit - run: npm run test:typecheck