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
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions:
id-token: write

jobs:
gate:
release-gate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
Expand All @@ -20,7 +20,7 @@ jobs:
- run: make audit-public

goreleaser:
needs: gate
needs: release-gate
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
Expand All @@ -40,11 +40,14 @@ jobs:
npm-publish:
needs: goreleaser
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write # OIDC for npm trusted publishing
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
with:
node-version: 20
node-version: 24
registry-url: "https://registry.npmjs.org"

- name: Download release binaries
Expand Down Expand Up @@ -79,5 +82,3 @@ jobs:
cd npm/shellroute
jq --arg v "$VERSION" '.optionalDependencies |= with_entries(.value = $v)' package.json > tmp.json && mv tmp.json package.json
npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}