work now
This commit is contained in:
parent
00bc571efa
commit
5acbf66e6b
2 changed files with 6 additions and 8 deletions
|
|
@ -23,16 +23,11 @@ runs:
|
|||
shell: bash
|
||||
run: bun install --frozen-lockfile
|
||||
|
||||
- name: Verify NPM_TOKEN
|
||||
- name: Configure npm auth
|
||||
shell: bash
|
||||
env:
|
||||
NPM_TOKEN: ${{ inputs.npm-token }}
|
||||
run: |
|
||||
if [ -z "$NPM_TOKEN" ]; then
|
||||
echo "::error::NPM_TOKEN is empty or not set"
|
||||
exit 1
|
||||
fi
|
||||
echo "NPM_TOKEN is set (${#NPM_TOKEN} chars)"
|
||||
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> ~/.npmrc
|
||||
|
||||
- name: Run multi-semantic-release
|
||||
shell: bash
|
||||
|
|
|
|||
|
|
@ -7,7 +7,10 @@ module.exports = {
|
|||
plugins: [
|
||||
"@semantic-release/commit-analyzer",
|
||||
"@semantic-release/release-notes-generator",
|
||||
["@semantic-release/exec", { prepareCmd: "npm pkg set version=${nextRelease.version}" }],
|
||||
["@semantic-release/exec", {
|
||||
prepareCmd: "npm pkg set version=${nextRelease.version}",
|
||||
publishCmd: "npm publish --access public",
|
||||
}],
|
||||
"@markwylde/semantic-release-gitea",
|
||||
],
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue