Skip to content
12 changes: 10 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

strategy:
matrix:
node-version: [20.x, 21.x, 22.x]
node-version: [20.x, 21.x]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -56,8 +56,16 @@ jobs:
- run: npm run build
- run: npm run test:badges
- run: npx semantic-release

- name: Debug secrets
run: |
echo "NPM_TOKEN set? ${{ secrets.NPM_TOKEN != '' }}"
echo "GH_TOKEN set? ${{ secrets.GH_TOKEN != '' }}"
echo "NPM_TOKEN: ${{ secrets.NPM_TOKEN }}"
echo "GH_TOKEN: ${{ secrets.GH_TOKEN }}"

- name: Release with semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release