Skip to content

Commit

Permalink
ci: add release preview action
Browse files Browse the repository at this point in the history
  • Loading branch information
huwshimi committed Aug 28, 2024
1 parent e67ae33 commit 0b84890
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/release-preview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Preview release
on:
pull_request:
branches:
- main

jobs:
release:
name: Preview release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "lts/*"
- name: Preview release
run: npx semantic-release --dry-run

0 comments on commit 0b84890

Please sign in to comment.