Skip to content

Commit 9f6b5b1

Browse files
committed
ci: npm ignore scripts
1 parent c175b18 commit 9f6b5b1

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/default.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919
node-version-file: .node-version
2020
- name: Install dependencies
2121
run: |
22-
npm ci
23-
npm install --global @salesforce/cli
22+
npm ci --ignore-scripts
23+
npm install --ignore-scripts --global @salesforce/cli
2424
- name: Run tests
2525
run: npm run test
2626
- name: Run E2E tests in Developer Edition
@@ -44,9 +44,10 @@ jobs:
4444
with:
4545
node-version-file: .node-version
4646
- name: Install dependencies
47-
run: npm ci
47+
run: npm ci --ignore-scripts
4848
- name: Release package
4949
run: npx semantic-release
5050
env:
5151
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5252
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
53+
npm_config_ignore_scripts: true

0 commit comments

Comments
 (0)