Skip to content

chore(release): v0.16.0 #22

chore(release): v0.16.0

chore(release): v0.16.0 #22

Workflow file for this run

name: Release
on:
push:
tags:
- "v*"
jobs:
test:
uses: ./.github/workflows/ci.yml
release:
needs: test
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: "20.0.0"
cache: npm
- name: Build
run: |
npm ci
npm run build
- name: Extract changelog
run: |
VERSION="${GITHUB_REF_NAME#v}"
sh scripts/print-changelog.sh "$VERSION" >| ${{ github.workspace }}/RELEASE_NOTES
- name: Create GitHub Release
uses: softprops/action-gh-release@v1
with:
body_path: ${{ github.workspace }}/RELEASE_NOTES
prerelease: true
fail_on_unmatched_files: true
files: |
./dist/bin/bare