Skip to content

Commit

Permalink
fix(ci): tweak actins to use latest commit and unsafe-perms for npm
Browse files Browse the repository at this point in the history
  • Loading branch information
bericp1 committed Mar 29, 2019
1 parent d19daca commit 32ca9b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/main.example.workflow
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ workflow "Test and Release" {
}

action "Install" {
uses = "nuxt/actions-yarn@node-10"
uses = "nuxt/actions-yarn@97f98f200b7fd42a001f88e7bdfc14d64d695ab2"
args = "install"
}

action "Test" {
needs = "Install"
uses = "nuxt/actions-yarn@node-10"
uses = "nuxt/actions-yarn@97f98f200b7fd42a001f88e7bdfc14d64d695ab2"
args = "test"
}

Expand All @@ -22,7 +22,7 @@ action "Master" {

action "Release" {
needs = "Master"
uses = "nuxt/actions-yarn@node-10"
uses = "nuxt/actions-yarn@97f98f200b7fd42a001f88e7bdfc14d64d695ab2"
secrets = ["GH_TOKEN", "NPM_TOKEN"]
args = "release"
args = "release-ci"
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"fixcode": "yarn run pretty",
"semantic-release": "semantic-release",
"release": "yarn run semantic-release",
"release-ci": "echo 'unsafe-perm = true' > ./npmrc && yarn run semantic-release && rm -rf ./npmrc",
"commit": "git-cz"
},
"repository": "https://bitbucket.org/Carimus/carimus-node-ts-package-template",
Expand Down

0 comments on commit 32ca9b7

Please sign in to comment.