Skip to content

Commit

Permalink
feat: semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
LunaticMuch committed Jul 23, 2023
1 parent fbc5abb commit 0345e82
Show file tree
Hide file tree
Showing 5 changed files with 24,497 additions and 14,054 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@

jobs:
release:
name: Release
permissions:
contents: write
id-token: write
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: lts/hydrogen
- name: Install dependencies
run: npm clean-install
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: npm audit signatures
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
name: Release
run: npx semantic-release
name: Release
on:
push:
branches:
- main

permissions:
contents: read # for checkout

24 changes: 24 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"branches": [
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
[
"@semantic-release/git",
{
"assets": ["CHANGELOG.md"]
}
],
"@semantic-release/changelog",
"@semantic-release/github",
"@semantic-release/git"
]
}
Empty file added CHANGELOG.md
Empty file.
Loading

0 comments on commit 0345e82

Please sign in to comment.