Skip to content

Commit

Permalink
Update version-bump-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shazron committed Nov 3, 2021
1 parent 083d072 commit 2c83869
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/version-bump-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,25 @@ on:
workflow_dispatch:
inputs:
level:
description: "<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease"
description: '<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease'
required: true
default: "patch"
default: 'patch'
tag:
description: "The tag to publish to."
description: 'The tag to publish to.'
required: false
default: "latest"
default: 'latest'
jobs:
checkout:
name: checkout
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.ADOBE_BOT_GITHUB_TOKEN }}
- name: Configure CI Git User
run: |
git config user.name adobe-bot
git config user.email [email protected]
- run: |
git config user.name github-actions
git config user.email [email protected]
- uses: actions/setup-node@v1
with:
node-version: 10
node-version: 14
- run: |
npm install
npm test
Expand All @@ -37,4 +34,4 @@ jobs:
with:
token: ${{ secrets.ADOBE_BOT_NPM_TOKEN }}
tag: ${{ github.event.inputs.tag }}
access: "public"
access: 'public'

0 comments on commit 2c83869

Please sign in to comment.