Skip to content

ci: change release and test workflows #2

ci: change release and test workflows

ci: change release and test workflows #2

Workflow file for this run

name: Release
on:
push:
branches:
- "main"
permissions:
contents: read
pull-requests: read
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
# - name: Changelog
# uses: scottbrenner/generate-changelog-action@master
# id: changelog
# with:
# package-dir: "./package.json"
- name: Create a GitHub release
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.tag_version.outputs.new_tag }}
name: Release ${{ steps.tag_version.outputs.new_tag }}
body: ${{ steps.tag_version.outputs.changelog }}