Skip to content

chore: release v0.0.3 #2

chore: release v0.0.3

chore: release v0.0.3 #2

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*.*.*'
jobs:
integration:
name: Integration
uses: ./.github/workflows/integration.yml
publish:
name: Publish
needs:
- integration
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v2.2.4
with:
version: 8.3.1
- name: Install Node.js
uses: actions/setup-node@v3
with:
cache: pnpm
node-version: 18
- name: Install dependencies
run: pnpm install
- name: Build block
run: pnpm build
- name: Bundle block
run: cd dist && tar -czf issue-form-block.tar.gz issue-form-block
shell: bash
- name: Generate changelog
uses: hideoo/changelogithub-action@v1
id: changelog
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Upload release artifacts
uses: xresloader/upload-to-github-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
file: 'dist/*.tar.gz'
release_id: ${{ steps.changelog.outputs.release_id }}