Prepare a new npm release #9
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: Prepare a new npm release | |
on: | |
workflow_dispatch: | |
inputs: | |
# This is copied from npm-publish/action.yml | |
npm-version-type: | |
description: 'The npm version type we are publishing.' | |
required: true | |
type: choice | |
default: 'patch' | |
options: | |
- patch | |
- minor | |
- major | |
jobs: | |
publish: | |
name: Prepare a new npm release | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pull-requests: write | |
steps: | |
- name: Check out the source code | |
uses: actions/checkout@v3 | |
- name: Run npm-prepare-release | |
uses: Automattic/vip-actions/[email protected] | |
with: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
npm-version-type: ${{ inputs.npm-version-type }} |