feat(action): Add initial action

This commit is contained in:
Jan Gleytenhoover 2024-08-25 17:58:48 +02:00
commit fe68950f3c
Signed by: jank
GPG Key ID: 5269D64BE8F4B6FB

24
action.yml Normal file

@ -0,0 +1,24 @@
name: "Semantic Release"
description: "Automatically creates semantic releases"
runs:
using: "composite"
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "lts/*"
- name: Install dependencies
run: npm install semantic-release @saithodev/semantic-release-gitea
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: npm audit signatures
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
run: npx semantic-release