mirror of
https://github.com/pnpm/pnpm.git
synced 2026-04-03 23:11:49 -04:00
30 lines
713 B
YAML
30 lines
713 B
YAML
name: Release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- "v*.*.*"
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
- name: install pnpm and npm
|
|
run: |
|
|
curl -L https://get.pnpm.io/v6.js | node - add --global pnpm@next npm@7
|
|
- name: pnpm install
|
|
run: pnpm install
|
|
- name: Build Artifacts
|
|
run: pnpm run compile && pnpm run copy-artifacts
|
|
- name: Generate release description
|
|
run: pnpm run make-release-description
|
|
- name: Release
|
|
uses: softprops/action-gh-release@v1
|
|
with:
|
|
prerelease: contains(github.ref, '-')
|
|
files: dist/*
|
|
body_path: RELEASE.md
|
|
|