From b40c9713c66a282f058a169226a82e4ecd64b390 Mon Sep 17 00:00:00 2001 From: Ran Ribenzaft Date: Mon, 5 Jul 2021 09:52:47 +0300 Subject: [PATCH] fix(release.yml): update --- .github/workflows/release.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e2984c7..e1e0274 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,6 +16,16 @@ jobs: uses: actions/setup-node@v1 with: node-version: 12 + + - name: Install dependencies @epsagon/web + working-directory: ./packages/web + run: npm install && npm run test && npm run build + - name: Release @epsagon/web + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + working-directory: ./packages/web + run: npm run semantic-release - name: Install dependencies @epsagon/react working-directory: ./packages/react @@ -27,12 +37,4 @@ jobs: working-directory: ./packages/react run: npm run semantic-release - - name: Install dependencies @epsagon/web - working-directory: ./packages/web - run: npm install && npm run test && npm run build - - name: Release @epsagon/web - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - working-directory: ./packages/web - run: npm run semantic-release +