Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v6

- name: Use Node.js 22.x
- name: Use Node.js 24.x
uses: actions/setup-node@v6
with:
node-version: 22.x
node-version: 24.x
cache: 'npm'

# This explicitly sets the version of the npm package to match that of the tag.
Expand All @@ -37,6 +37,7 @@ jobs:
- name: NPM Publish
id: publish
run: npm publish
continue-on-error: true

- name: Create issue on npm publish failure
if: ${{ steps.publish.outcome == 'failure' }}
Expand All @@ -45,11 +46,10 @@ jobs:
run: |
gh issue create \
--title "NPM Publish step failed for release ${GITHUB_REF_NAME}" \
--body "The NPM publish step failed for release: ${GITHUB_REF_NAME}. The npm package will need to be manually uploaded to NPM.
--body "The NPM publish step failed for release: ${GITHUB_REF_NAME}. The npm package will need to be manually uploaded to NPM." \
--assignee AndrewSouthpaw

- name: Release
if: ${{ always() }}
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true
Expand Down