Skip to content

Commit

Permalink
Fix CI for release
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinpalkovic committed Nov 5, 2024
1 parent 7052458 commit 8d65d8a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -19,4 +22,4 @@ jobs:
run: pnpm release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 8d65d8a

Please sign in to comment.