Skip to content

Commit

Permalink
chore: follow defaults for semantic-release
Browse files Browse the repository at this point in the history
Signed-off-by: Jon Koops <[email protected]>
  • Loading branch information
jonkoops authored and rolandjitsu committed Nov 16, 2024
1 parent 925953b commit d04a771
Show file tree
Hide file tree
Showing 4 changed files with 9,628 additions and 3,003 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@ on:
- "[0-9]+.[0-9]+.x"

permissions:
contents: read
contents: read # for checkout

jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-depth: 0 # fetch all history

- name: Setup Node.js
uses: actions/setup-node@v4
Expand All @@ -33,7 +33,7 @@ jobs:
run: npm ci

- name: Release
run: npx -y semantic-release@^24.1.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
4 changes: 0 additions & 4 deletions .releaserc.yaml

This file was deleted.

Loading

0 comments on commit d04a771

Please sign in to comment.