Skip to content

Commit

Permalink
fix: commitlint preventing release
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinchappell committed Oct 30, 2024
1 parent 9e26bd0 commit 6d7ce3f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ on:

jobs:
build:
env:
CI: true
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -15,19 +20,14 @@ jobs:
cache: 'npm'
node-version: 23
- name: Install dependencies
env:
CI: true

run: npm install
- name: Test
run: npm test
- name: Build
run: npm run build
- name: Publish
if: success()
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
- name: Build
if: success()
Expand Down

0 comments on commit 6d7ce3f

Please sign in to comment.