Skip to content

Commit 165b793

Browse files
authored
ci: npm ignore scripts
1 parent 96d4028 commit 165b793

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.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 unit tests
2525
run: npm run test
2626
- name: Authenticate DevHub and create scratch org
@@ -50,9 +50,10 @@ jobs:
5050
with:
5151
node-version-file: .node-version
5252
- name: Install dependencies
53-
run: npm ci
53+
run: npm ci --ignore-scripts
5454
- name: Release package
5555
run: npx semantic-release
5656
env:
5757
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5858
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
59+
npm_config_ignore_scripts: true

0 commit comments

Comments
 (0)