Skip to content

Commit

Permalink
chore: create release-dry run
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewTriesToCode authored Nov 1, 2024
1 parent d82f89d commit b747a60
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/release-dry run
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Release

on: [workflow_dispatch]

jobs:
build-test-prep-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: build and test
run: |
dotnet restore
dotnet build -c Release --no-restore -p:ContinuousIntegrationBuild=true
dotnet test -c Release --no-build
- name: setup semantic-release
run: |
npm install -D semantic-release
npm install -D @semantic-release/git
npm install -D @semantic-release/changelog
npm install -D @semantic-release/exec
npm install -D conventional-changelog-conventionalcommits
- name: run semantic-release
env:
GH_TOKEN: ${{ secrets.workflow_pat }}
run: npx semantic-release --dry-run

0 comments on commit b747a60

Please sign in to comment.