From 08cf5fb3d501af8ffafed2fb8d2130a630857aa1 Mon Sep 17 00:00:00 2001 From: mashal-m Date: Mon, 27 Feb 2023 16:28:10 +0500 Subject: [PATCH] fix: add build job --- .github/workflows/ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fa169f1..9bf95b0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,6 +24,18 @@ jobs: steps: - uses: actions/checkout@v3 - run: echo "The new release version is ${{ needs.get-next-version.outputs.new-release-version }}" + release: + runs-on: ubuntu-latest + needs: build + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 16 + - run: npm ci + - run: npx semantic-release + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} tests: runs-on: ubuntu-latest strategy: