Skip to content

Commit

Permalink
Use semver (Outburn-IL#31)
Browse files Browse the repository at this point in the history
* chore: use semver

* fix: use semantic-version, dry run
  • Loading branch information
lizozom committed Mar 3, 2024
1 parent cd891ec commit 99fa294
Show file tree
Hide file tree
Showing 4 changed files with 9,795 additions and 4,665 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/semver.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: SemVer

on:
push:
branches: main
workflow_dispatch:

jobs:
semver:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: main
token: ${{ secrets.PAT }}
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v4
with:
semantic_version: 21.1.1
branches: main
dry_run: true
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
6 changes: 6 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"branches": ["main"],
"debug": "false",
"dryRun": "true",
"tagFormat": "v${version}"
}
Loading

0 comments on commit 99fa294

Please sign in to comment.