Skip to content

Commit 32ca9b7

Browse files
committed
fix(ci): tweak actins to use latest commit and unsafe-perms for npm
1 parent d19daca commit 32ca9b7

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/main.example.workflow

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ workflow "Test and Release" {
44
}
55

66
action "Install" {
7-
uses = "nuxt/actions-yarn@node-10"
7+
uses = "nuxt/actions-yarn@97f98f200b7fd42a001f88e7bdfc14d64d695ab2"
88
args = "install"
99
}
1010

1111
action "Test" {
1212
needs = "Install"
13-
uses = "nuxt/actions-yarn@node-10"
13+
uses = "nuxt/actions-yarn@97f98f200b7fd42a001f88e7bdfc14d64d695ab2"
1414
args = "test"
1515
}
1616

@@ -22,7 +22,7 @@ action "Master" {
2222

2323
action "Release" {
2424
needs = "Master"
25-
uses = "nuxt/actions-yarn@node-10"
25+
uses = "nuxt/actions-yarn@97f98f200b7fd42a001f88e7bdfc14d64d695ab2"
2626
secrets = ["GH_TOKEN", "NPM_TOKEN"]
27-
args = "release"
27+
args = "release-ci"
2828
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"fixcode": "yarn run pretty",
1515
"semantic-release": "semantic-release",
1616
"release": "yarn run semantic-release",
17+
"release-ci": "echo 'unsafe-perm = true' > ./npmrc && yarn run semantic-release && rm -rf ./npmrc",
1718
"commit": "git-cz"
1819
},
1920
"repository": "https://bitbucket.org/Carimus/carimus-node-ts-package-template",

0 commit comments

Comments
 (0)