Skip to content

Commit

Permalink
ci: fix release step by building package prior to release
Browse files Browse the repository at this point in the history
  • Loading branch information
ju-Skinner committed Jun 6, 2024
1 parent f7104a0 commit 5511cc6
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ jobs:
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Build
run: npx nx run @pine-ds/icons:build
shell: bash

- name: Release
run: npx nx release --yes
env:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/send-slack-notification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
with:
fetch-depth: 0

- name: Pull latest
run: git pull

- name: Setup ENV Vars
run: |
echo 'PACKAGE_JSON<<EOF' >> $GITHUB_ENV
Expand Down
50 changes: 50 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5511cc6

Please sign in to comment.