From f6dc7d5b19a57f6912bbee378067a392a6bd52c5 Mon Sep 17 00:00:00 2001 From: TobenderZephyr Date: Sun, 9 May 2021 10:45:04 +0200 Subject: [PATCH] Update node.js.yml --- .github/workflows/node.js.yml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index a12155a..dc87164 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -35,9 +35,29 @@ jobs: with: project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} + bump: + needs: build + if: ${{github.event_name == 'push'}} + runs-on: ubuntu-latest + steps: + - name: "Checkout source code" + uses: "actions/checkout@v2" + with: + ref: ${{ github.ref }} + - name: "Setup Node.js" + uses: "actions/setup-node@v1" + with: + node-version: 12 + - name: "Automated Version Bump" + uses: "phips28/gh-action-bump-version@master" + with: + tag-prefix: '' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + deploy: - needs: build + needs: bump if: ${{github.event_name == 'push'}} runs-on: ubuntu-latest steps: