Skip to content

Release

Release #40

Workflow file for this run

name: Release
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node.js environment
uses: actions/setup-node@v3.6.0
with:
node-version: "19"
- name: Setup pnpm
uses: pnpm/action-setup@v2.2.4
with:
version: 8
- name: Install dependencies
run: pnpm install
- name: Build dist
run: pnpm prod
- name: Install zip
uses: montudor/action-zip@v1
- name: Release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}