diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4a03fc2a..83bca656 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,7 +8,7 @@ on: jobs: release: name: Release - + if: ${{ github.repository == 'LottieFiles/relottie' && github.event_name == 'push' }} runs-on: ubuntu-latest strategy: matrix: @@ -29,6 +29,8 @@ jobs: with: cache: 'pnpm' node-version: ${{ matrix.node-version }} + scope: '@lottiefiles' + registry-url: 'https://npm.pkg.github.com/' - name: 📥 Install dependencies run: pnpm install