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 +