Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #8 from namehash/feat/add-nameparser
Browse files Browse the repository at this point in the history
fix: update release workflow
  • Loading branch information
FrancoAguzzi authored Mar 23, 2024
2 parents 7b06eb5 + aef39ef commit ddb437f
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,17 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Check if changes were made into ens-utils package
id: check_changes
run: |
package_changed=false
git diff --diff-filter=d --name-only HEAD HEAD~1 | grep -q "packages/ens-utils" && package_changed=true
echo "package_changed=${{ env.package_changed }}" >> $GITHUB_ENV
if: env.package_changed == 'false'
run: break
else:
run: cd packages/ens-utils

- uses: actions/checkout@v2
- name: Setup pnpm
uses: pnpm/action-setup@v3
Expand All @@ -27,8 +38,9 @@ jobs:
- run: pnpm build
- run: pnpm test
- run: pnpm audit signatures

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
run: npx semantic-release

0 comments on commit ddb437f

Please sign in to comment.