Skip to content

chore: release v1.0.0-beta.2 #2

chore: release v1.0.0-beta.2

chore: release v1.0.0-beta.2 #2

Workflow file for this run

name: Release
permissions:
contents: write
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/[email protected]
- name: Set node LTS
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: pnpm
- name: Install
run: pnpm install
- name: Build zip package
run: pnpm run build
- name: Generate changelog & create release
run: git branch && npx changelogithub
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload zip to GitHub Release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
PKG_VERSION=$(node -p "require('./package.json').version")
gh release upload ${{ github.ref_name }} compose-kit-${PKG_VERSION}.zip --clobber