vitest/.github/workflows/release.yml
renovate[bot] 7e3daa94ad
chore(deps): update actions/checkout action to v3 (#996)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-21 18:50:49 +08:00

35 lines
734 B
YAML

name: Release
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v2.2.1
- 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}}