Skip to content

Commit

Permalink
feat: add github releases
Browse files Browse the repository at this point in the history
  • Loading branch information
holtwick committed Dec 4, 2023
1 parent 1a34a98 commit d634409
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Release

permissions:
contents: write

on:
push:
tags:
- 'v*'

# on:
# push:
# branches:
# - main
# - master
# release:
# types: [created]
# # workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

permissions:
contents: write
packages: write

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 18.x
registry-url: 'https://registry.npmjs.org'
- run: npm version
- run: npx changelogithub
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit d634409

Please sign in to comment.