mirror of
https://github.com/primer/css.git
synced 2024-11-30 01:04:04 +03:00
publish: run npm w/--unsafe-perms for pre- and post-scripts
This commit is contained in:
parent
6ce25b0dc5
commit
2308cef1b5
@ -29,13 +29,4 @@ else
|
||||
flags="$flags --tag canary"
|
||||
fi
|
||||
|
||||
context="npm publish primer"
|
||||
|
||||
export GH_STATUS_TOKEN=$GITHUB_TOKEN
|
||||
npx commit-status $context pending "publishing $version..."
|
||||
|
||||
script/prepublish
|
||||
npm publish $flags
|
||||
script/postpublish
|
||||
|
||||
npx commit-status $context success "published $version" "https://unpkg.com/$name@$version/"
|
||||
npm --unsafe-perms publish $flags
|
||||
|
Loading…
Reference in New Issue
Block a user