Skip to content

Commit e03654f

Browse files
committed
chore: update npm ci commands to include --no-fund and --no-audit
1 parent 6e9c3e2 commit e03654f

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
cache: 'npm'
3737
registry-url: 'https://registry.npmjs.org'
3838
scope: '@workfront'
39-
- run: npm ci
39+
- run: npm ci --no-fund --no-audit
4040
- name: Bump package version
4141
run: |
4242
git config --global user.name 'github-actions[bot]'
@@ -52,7 +52,7 @@ jobs:
5252
- name: Draft release
5353
run: |
5454
VERSION=$(node -p "require('./package.json').version")
55-
gh release create $VERSION --generate-notes --draft
55+
gh release create v$VERSION --generate-notes --draft --verify-tag --fail-on-no-commits
5656
env:
5757
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5858
VERSION: ${{ inputs.next_version }}

.github/workflows/verify.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
cache: 'npm'
2121
registry-url: 'https://registry.npmjs.org'
2222
scope: '@workfront'
23-
- run: npm ci
23+
- run: npm ci --no-fund --no-audit
2424
- run: npm run build
2525
test:
2626
runs-on: ubuntu-latest
@@ -32,7 +32,7 @@ jobs:
3232
cache: 'npm'
3333
registry-url: 'https://registry.npmjs.org'
3434
scope: '@workfront'
35-
- run: npm ci
35+
- run: npm ci --no-fund --no-audit
3636
- run: npm run test:sources -- --ci
3737
- uses: codecov/codecov-action@v4
3838
with:
@@ -49,5 +49,5 @@ jobs:
4949
cache: 'npm'
5050
registry-url: 'https://registry.npmjs.org'
5151
scope: '@workfront'
52-
- run: npm ci
52+
- run: npm ci --no-fund --no-audit
5353
- run: npm run test:typecheck

0 commit comments

Comments
 (0)