From 9392900b044983017081adda41136797d70be6c1 Mon Sep 17 00:00:00 2001 From: Lydia Garms Date: Mon, 13 Jul 2026 13:56:18 +0100 Subject: [PATCH] fix: release workflow --- .github/workflows/release.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c8d3bbe7..f82ec3d1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,12 @@ on: push: branches: [master, beta] +permissions: + contents: write + issues: write + pull-requests: write + packages: write + jobs: release: runs-on: ubuntu-latest @@ -11,15 +17,14 @@ jobs: - uses: actions/checkout@v5 - uses: actions/setup-node@v5 with: - node-version: '14.17.0' + node-version: '20' - run: | - npm install + npm ci npx tsc - - uses: codfish/semantic-release-action@master - id: semantic + - name: Release + run: npx semantic-release@24 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - run: echo ${{ steps.semantic.outputs.release-version }} + NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}