From 8d65d8a054d7df3eca83c87aa206f826a22ef9ef Mon Sep 17 00:00:00 2001 From: Valentin Palkovic Date: Tue, 5 Nov 2024 09:33:46 +0100 Subject: [PATCH] Fix CI for release --- .github/workflows/release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f31bc37..cdb03d0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,11 +5,14 @@ on: [push] jobs: release: runs-on: ubuntu-latest + if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')" steps: - uses: actions/checkout@v4 + - name: Prepare repository + run: git fetch --unshallow --tags - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 - uses: pnpm/action-setup@v4 with: version: 9.4.0 @@ -19,4 +22,4 @@ jobs: run: pnpm release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file + NPM_TOKEN: ${{ secrets.NPM_TOKEN }}