Skip to content

Commit

Permalink
fix: enable semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
aerovulpe committed Nov 28, 2023
1 parent b68f50a commit 473fd21
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 23 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,16 @@ jobs:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '16.x'
node-version: 18

- name: Install dependencies
run: npm install

- name: Build distribution
run: npm run build

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
21 changes: 21 additions & 0 deletions .releaserc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
plugins:
- "@semantic-release/commit-analyzer"
- "@semantic-release/release-notes-generator"
- - "@semantic-release/changelog"
- changelogFile: "CHANGELOG.md"
- - "@semantic-release/npm"
- npmPublish: true
- - "@semantic-release/github"
- assets:
- "dist/**"
- "LICENSE"
# enable this when GITHUB_TOKEN with the appropriate permissions is available
# - - "@semantic-release/git"
# - assets:
# - "CHANGELOG.md"
# message: "chore(release): prepare ${nextRelease.version} [skip ci]"

branches:
- name: "main"

tagFormat: ${version}
21 changes: 0 additions & 21 deletions release.config.js

This file was deleted.

0 comments on commit 473fd21

Please sign in to comment.