From cc0894d7fb16e02caabb6d3d7b6b282fe1cc8256 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C5=82a=C5=BCej=20Che=C5=82kowski?= Date: Fri, 19 Jun 2026 10:41:06 +0200 Subject: [PATCH] fix: change release aciton --- .github/workflows/release.yml | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2d24e25..5bf4f36 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,22 +6,29 @@ on: jobs: release: runs-on: ubuntu-latest + permissions: + contents: write + id-token: write + issues: write + pull-requests: write timeout-minutes: 10 steps: - name: Checkout - uses: actions/checkout@v4 - - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/checkout@v6 + with: + fetch-depth: 0 + + - name: Setup Node + uses: actions/setup-node@v6 with: node-version-file: '.nvmrc' cache: 'npm' - - name: Semantic Release - id: release - uses: cycjimmy/semantic-release-action@v4 + + - name: Install dependencies + run: npm ci + + - name: Release + run: npx semantic-release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - with: - extra_plugins: | - @semantic-release/changelog@6 - @semantic-release/git@10 + NPM_CONFIG_PROVENANCE: true