Skip to content

Update README.md

Update README.md #74

Workflow file for this run

name: release
on:
push:
branches:
- master
concurrency:
group: release-${{ github.ref }}
cancel-in-progress: true
defaults:
run:
shell: bash
jobs:
draft_release:
permissions:
contents: write # Allows this job to create releases
strategy:
fail-fast: true
matrix:
# os: [macos-latest, ubuntu-latest, windows-latest]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- uses: pnpm/action-setup@v4
with:
version: latest
- run: pnpm install --no-frozen-lockfile
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
- name: Get Package Version
id: get-version
run: echo "version=$(node -p "require('./package.json').version")" >> $GITHUB_ENV
- run: pnpm build
- run: zip -r ${{ env.version }}.zip dist
- name: GH Release
uses: softprops/[email protected]
with:
tag_name: ${{ env.version }}
name: ${{ env.version }}
draft: true
files: ${{ env.version }}.zip