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

Merge pull request #8 from namehash/feat/add-nameparser #25

Merge pull request #8 from namehash/feat/add-nameparser

Merge pull request #8 from namehash/feat/add-nameparser #25

Workflow file for this run

name: Release
on:
push:
branches:
- main
permissions:
contents: write
issues: write
pull-requests: write
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

Check failure on line 24 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

You have an error in your yaml syntax on line 24
else:
run: cd packages/ens-utils
- uses: actions/checkout@v2
- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 8
- uses: actions/setup-node@v4
with:
node-version: "lts/*"
cache: "pnpm"
- run: pnpm install
- 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