feat: test minor bump with semantic pre release alpha (#391) #341
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches: | |
- main | |
- vue3.x | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
token: ${{ secrets.PAT_SEMENTIC_RELEASE_AND_ESLINT }} | |
- name: Setup PNPM | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Install dependencies | |
run: pnpm install | |
- name: Install semantic-release extra plugins | |
run: pnpm install --save-dev @semantic-release/changelog @semantic-release/git | |
- name: Release | |
env: | |
GH_TOKEN: ${{ secrets.PAT_SEMENTIC_RELEASE_AND_ESLINT }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
run: pnpm dlx semantic-release |