Skip to content

Commit

Permalink
feat: semantic-release github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rochecompaan committed Jun 28, 2024
1 parent 958917d commit 6ee3021
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/semantic-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Semantic Release

on:
push:
branches:
- main

jobs:
semantic-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false

- name: Setup Node.js
uses: actions/setup-node@v4
with:
cache: 'npm'
cache-dependency-path: package-lock.json

- name: Install Dependencies
run: npm install

- name: Run Semantic Release
# start with --dry-run on first try
run: npx semantic-release --dry-run
env:
GITHUB_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}

0 comments on commit 6ee3021

Please sign in to comment.