commit fe68950f3c6bf8007a4c9bb09780404b4752b17e Author: jank Date: Sun Aug 25 17:58:48 2024 +0200 feat(action): Add initial action diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..35629ec --- /dev/null +++ b/action.yml @@ -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 +