diff --git a/.github/workflows/version-bump-publish.yml b/.github/workflows/version-bump-publish.yml index f16cdd7..62fe5fa 100644 --- a/.github/workflows/version-bump-publish.yml +++ b/.github/workflows/version-bump-publish.yml @@ -1,4 +1,4 @@ -name: version-bump-publish +name: Manage veresion on: workflow_dispatch: inputs: @@ -11,15 +11,17 @@ jobs: name: checkout runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - name: Checkout + uses: actions/checkout@v2 + - name: Setup NodeJS and run build + uses: actions/setup-node@v1 with: node-version: 12 - run: | npm install npm run lint npm run build - - name: bump and pub + - name: Setup version and git tag if: ${{ github.event.inputs.tag != '' }} run: | npm version ${{ github.event.inputs.tag }}