Skip to content

Commit ed7895e

Browse files
authored
npm publish - ignore errors when publishing to GH registry
Modify npm publish command to prevent failure on error.
1 parent 4043a7e commit ed7895e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/npmpublish.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ jobs:
3333
run: |
3434
sed -i 's/"phantomas"/"@macbre\/phantomas"/g' package.json; git diff
3535
36-
npm publish --access public
37-
36+
npm publish --access public || true
3837
git checkout -- .
3938
env:
4039
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)