mirror of
https://github.com/pnpm/pnpm.git
synced 2026-04-03 06:51:53 -04:00
30 lines
734 B
YAML
30 lines
734 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 --filter=@pnpm/beta prepublishOnly && pnpm run copy-artifacts
|
|
- name: Generate release description
|
|
run: pnpm run make-release-description
|
|
- name: Release
|
|
uses: softprops/action-gh-release@v1
|
|
with:
|
|
draft: true
|
|
files: dist/*
|
|
body_path: RELEASE.md
|
|
|