From c9420960c760c51805134d352de16d2b25599b68 Mon Sep 17 00:00:00 2001 From: Tim Lai Date: Fri, 23 Oct 2020 15:59:14 -0700 Subject: [PATCH] ci(GA): add release job step (#6558) --- .github/workflows/nodejs.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 75a7c4ce..e9f66175 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -29,3 +29,15 @@ jobs: run: npm test env: CI: true + + release: + if: contains(github.ref, 'master') + runs-on: ubuntu-latest + needs: [build] + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js + uses: actions/setup-node@v1 + with: + node-version: 14.x -- GitLab