Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
c449fe693d |
1 changed files with 6 additions and 14 deletions
20
action.yml
20
action.yml
|
@ -7,10 +7,6 @@ inputs:
|
||||||
GITEA_TOKEN:
|
GITEA_TOKEN:
|
||||||
description: "Gitea token"
|
description: "Gitea token"
|
||||||
required: true
|
required: true
|
||||||
NPM_TOKEN:
|
|
||||||
description: "NPM Publish token"
|
|
||||||
required: false
|
|
||||||
default: ""
|
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
|
@ -19,21 +15,17 @@ runs:
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
- uses: oven-sh/setup-bun@v2
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v5
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: "lts/*"
|
node-version: "lts/*"
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install semantic-release @saithodev/semantic-release-gitea @semantic-release/changelog @semantic-release/release-notes-generator commitlint-plugin-cleanfeet conventional-changelog-conventionalcommits @semantic-release/git --force
|
run: bun install semantic-release @saithodev/semantic-release-gitea @semantic-release/changelog
|
||||||
|
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
|
||||||
|
run: bun audit signatures
|
||||||
- name: Release
|
- name: Release
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }}
|
||||||
GITEA_TOKEN: ${{ inputs.GITEA_TOKEN }}
|
GITEA_TOKEN: ${{ inputs.GITEA_TOKEN }}
|
||||||
NPM_TOKEN: ${{ inputs.NPM_TOKEN }}
|
run: bunx semantic-release
|
||||||
uses: cycjimmy/semantic-release-action@v4
|
|
||||||
id: semantic
|
|
||||||
|
|
||||||
outputs:
|
|
||||||
new_release_published:
|
|
||||||
description: "The output from the action"
|
|
||||||
value: ${{ steps.semantic.outputs.new_release_published }}
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue