mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
37 lines
774 B
YAML
37 lines
774 B
YAML
name: Release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'v*'
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Install pnpm
|
|
uses: pnpm/action-setup@v2.0.1
|
|
with:
|
|
version: 6.23.5
|
|
|
|
- name: Set node version to v16
|
|
uses: actions/setup-node@v2
|
|
with:
|
|
node-version: 16
|
|
cache: "pnpm"
|
|
|
|
# - run: pnpm i -g @antfu/ni
|
|
# - run: nci
|
|
# - run: nr test --if-present
|
|
# - run: npm publish --access public
|
|
# env:
|
|
# NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
|
|
|
- run: npx conventional-github-releaser -p angular
|
|
env:
|
|
CONVENTIONAL_GITHUB_RELEASER_TOKEN: ${{secrets.GITHUB_TOKEN}}
|