mirror of
https://github.com/primer/css.git
synced 2024-11-23 03:10:10 +03:00
npm: move unsafe-perm from .npmrc to args
This commit is contained in:
parent
23c48e17e1
commit
9db6eb88c9
3
.github/main.workflow
vendored
3
.github/main.workflow
vendored
@ -10,7 +10,7 @@ workflow "lint, test, deploy, publish" {
|
||||
|
||||
action "install" {
|
||||
uses = "actions/npm@v2.0.0"
|
||||
args = "ci"
|
||||
args = ["install", "--unsafe-perm"]
|
||||
}
|
||||
|
||||
action "lint" {
|
||||
@ -37,6 +37,7 @@ action "deploy" {
|
||||
action "publish" {
|
||||
needs = ["lint", "test"]
|
||||
uses = "primer/publish@v1.0.0"
|
||||
args = ["--", "--unsafe-perm"]
|
||||
secrets = ["GITHUB_TOKEN", "NPM_AUTH_TOKEN"]
|
||||
env = {
|
||||
PUBLISH_STATUS_CONTEXT = "npm publish primer"
|
||||
|
Loading…
Reference in New Issue
Block a user