Skip to content

Commit 0356a2b

Browse files
authored
Pass --provenance to npm publish (#2681)
As suggested by npm/cli#8730 (comment)
1 parent 52fc718 commit 0356a2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ jobs:
131131
- name: Set the version of @sass/types
132132
run: npm pkg set version='${{ steps.dart-sass-version.outputs.version }}'
133133
working-directory: pkg/sass-types/
134-
- run: npm publish
134+
- run: npm publish --provenance
135135
working-directory: pkg/sass-types/
136136

137137
deploy_sass_parser:
@@ -160,7 +160,7 @@ jobs:
160160

161161
- run: npm run compile
162162
working-directory: pkg/sass-parser/
163-
- run: npm publish
163+
- run: npm publish --provenance
164164
working-directory: pkg/sass-parser/
165165

166166
- name: Get Sass parser version

0 commit comments

Comments
 (0)