Skip to content

Commit

Permalink
fix(.github): add npm build to github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
narekhovhannisyan committed Oct 10, 2024
1 parent 81e18e4 commit 6717f87
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/release-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Build project
run: npm run build

- name: Initialize git user email
run: git config --global user.email "${{ vars.RELEASE_USER_EMAIL }}"

Expand Down Expand Up @@ -94,4 +97,4 @@ jobs:
- name: Create pull request
run: gh pr create -B ${{ vars.RELEASE_BRANCH_NAME }} -H $PR_BRANCH_NAME --title "Release ${{github.event.release.tag_name}}" --body "${{github.event.release.body}}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5 changes: 4 additions & 1 deletion .github/workflows/release-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:
- name: Run integration tests
run: npm run if-check -- -d manifests/outputs

- name: Build project
run: npm run build

- name: Initialize git user email
run: git config --global user.email "${{ env.RELEASE_USER_EMAIL }}"

Expand Down Expand Up @@ -70,4 +73,4 @@ jobs:
run: npm publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 6717f87

Please sign in to comment.