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
|
shell: bash
|
||||||
run: bun install --frozen-lockfile
|
run: bun install --frozen-lockfile
|
||||||
|
|
||||||
- name: Verify NPM_TOKEN
|
- name: Configure npm auth
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
NPM_TOKEN: ${{ inputs.npm-token }}
|
NPM_TOKEN: ${{ inputs.npm-token }}
|
||||||
run: |
|
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> ~/.npmrc
|
||||||
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)"
|
|
||||||
|
|
||||||
- name: Run multi-semantic-release
|
- name: Run multi-semantic-release
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,10 @@ module.exports = {
|
||||||
plugins: [
|
plugins: [
|
||||||
"@semantic-release/commit-analyzer",
|
"@semantic-release/commit-analyzer",
|
||||||
"@semantic-release/release-notes-generator",
|
"@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",
|
"@markwylde/semantic-release-gitea",
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue