Skip to content

Commit

Permalink
fix: disable husky for actions
Browse files Browse the repository at this point in the history
  • Loading branch information
OtaconnSHGR committed Feb 27, 2025
1 parent 475eaea commit bb991ae
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/semantic-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ on:
jobs:
semantic-release:
permissions:
# to be able to publish a GitHub release
# To be able to publish a GitHub release
contents: write
# to be able to comment on released issues
# To be able to comment on released issues
issues: write
# to be able to comment on released pull requests
# To be able to comment on released pull requests
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Checkout
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
Expand All @@ -35,12 +35,18 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: '23'
cache: npm

- name: Disable Husky
run: |
echo "HUSKY=0" >> "${GITHUB_ENV}"
- name: Install dependencies
run: npm install
run: npm ci

- name: Semantic Release
- name: Run Semantic Release
env:
HUSKY: 0 # Ensure Husky is disabled
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release
...

0 comments on commit bb991ae

Please sign in to comment.