Skip to content
Merged
Show file tree
Hide file tree
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
34 changes: 27 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Release

on:
on:
workflow_run:
workflows: Run tests
branches: master
Expand All @@ -9,20 +9,40 @@ on:

jobs:
release:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
steps:
- uses: actions/checkout@v4
- name: npm install
run: npm install
- uses: actions/checkout@v5
- name: set node.js 24
uses: actions/setup-node@v6
with:
node-version: 24
registry-url: https://registry.npmjs.org
- name: Use npm with trusted publishing support
run: npm install -g npm@11.13.0
- name: Show release tool versions
run: |
node --version
npm --version
npm config get registry
- name: npm ci
run: npm ci
- name: Build
run: npm run build
- name: Release
uses: cycjimmy/semantic-release-action@v3
uses: cycjimmy/semantic-release-action@v6.0.0
with:
extra_plugins: |
@semantic-release/npm@13.1.5
@semantic-release/changelog
@semantic-release/git
branch: master
branches: master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
DEBUG: semantic-release:*,@semantic-release/npm:*
NPM_CONFIG_LOGLEVEL: verbose
Loading
Loading