CI - add steps names

main
Dragan Filipovic 2021-04-17 00:12:22 +02:00
parent 9483c83d88
commit a04c641775
1 changed files with 6 additions and 4 deletions

View File

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