diff --git a/.github/actions/publish-bundle/action.yml b/.github/actions/publish-bundle/action.yml index 17270a3d80..961a7cd44c 100644 --- a/.github/actions/publish-bundle/action.yml +++ b/.github/actions/publish-bundle/action.yml @@ -17,10 +17,6 @@ inputs: runs: using: 'composite' steps: - - name: 'Install dependencies' - shell: 'bash' - run: 'npm ci' - - name: 'Setup NPMRC' uses: './.github/actions/setup-npmrc' with: diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 711c9e7f28..3321ea0447 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -46,6 +46,9 @@ jobs: node-version-file: '.nvmrc' cache: 'npm' + - name: 'Install Dependencies' + run: 'npm ci' + - name: 'Calculate Version and Tag' id: 'vars' run: | diff --git a/.github/workflows/release-manual-bundled.yml b/.github/workflows/release-manual-bundled.yml index d231b4a0cb..883b0aedb8 100644 --- a/.github/workflows/release-manual-bundled.yml +++ b/.github/workflows/release-manual-bundled.yml @@ -99,19 +99,6 @@ jobs: gemini_api_key: '${{ secrets.GEMINI_API_KEY }}' working-directory: './release' - - name: 'Bundle' - working-directory: './release' - shell: 'bash' - run: 'npm run bundle' - - - name: 'Prepare Package for Publishing' - if: "${{ vars.NPM_REGISTRY_SCOPE != '' }}" - working-directory: './release' - shell: 'bash' - env: - PACKAGE_SCOPE: '${{ vars.NPM_REGISTRY_SCOPE }}' - run: 'node scripts/prepare-package.js --scope=${{ env.PACKAGE_SCOPE }}' - - name: 'Publish Bundle' uses: './.github/actions/publish-bundle' with: