From d7e3af432f8e6323cfd23b284d602bc9d3f981b6 Mon Sep 17 00:00:00 2001 From: Aidos Sabit Date: Tue, 27 Jun 2023 18:24:39 +0600 Subject: [PATCH] chore(github): fix npm release --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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