Skip to content

Commit c2cedc0

Browse files
committed
ci: npm ignore scripts
1 parent 5f880af commit c2cedc0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/default.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
with:
1919
node-version-file: .node-version
2020
- name: Install dependencies
21-
run: npm ci
21+
run: npm ci --ignore-scripts
2222
- name: Run tests
2323
run: npm run test
2424
release:
@@ -36,9 +36,10 @@ jobs:
3636
with:
3737
node-version-file: .node-version
3838
- name: Install dependencies
39-
run: npm ci
39+
run: npm ci --ignore-scripts
4040
- name: Release package
4141
run: npx semantic-release
4242
env:
4343
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4444
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
45+
npm_config_ignore_scripts: true

0 commit comments

Comments
 (0)