npm auth
This commit is contained in:
parent
6b957a56a3
commit
a184bba740
3 changed files with 7 additions and 3 deletions
|
|
@ -23,6 +23,12 @@ runs:
|
|||
shell: bash
|
||||
run: bun install --frozen-lockfile
|
||||
|
||||
- name: Configure npm auth
|
||||
shell: bash
|
||||
env:
|
||||
NPM_TOKEN: ${{ inputs.npm-token }}
|
||||
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
|
||||
|
||||
- name: Run multi-semantic-release
|
||||
shell: bash
|
||||
env:
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
"semantic-release": "^25.0.3",
|
||||
"multi-semantic-release": "^3.1.0",
|
||||
"@markwylde/semantic-release-gitea": "^2.2.0",
|
||||
"@semantic-release/exec": "^7.0.3",
|
||||
"@semantic-release/npm": "^13.1.5"
|
||||
"@semantic-release/exec": "^7.0.3"
|
||||
}
|
||||
}
|
||||
|
|
@ -8,7 +8,6 @@ module.exports = {
|
|||
"@semantic-release/commit-analyzer",
|
||||
"@semantic-release/release-notes-generator",
|
||||
["@semantic-release/exec", { prepareCmd: "npm pkg set version=${nextRelease.version}" }],
|
||||
["@semantic-release/npm", { npmPublish: false }],
|
||||
"@markwylde/semantic-release-gitea",
|
||||
],
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue