diff --git a/.github/actions/gh-setup/action.yml b/.github/actions/gh-setup/action.yml index a1dc33d5a8..84ed7b967d 100644 --- a/.github/actions/gh-setup/action.yml +++ b/.github/actions/gh-setup/action.yml @@ -8,9 +8,6 @@ runs: with: node-version: lts/* cache: yarn - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - - name: Install dependencies shell: bash run: yarn install --immutable diff --git a/.github/workflows/release-snapshot.yml b/.github/workflows/release-snapshot.yml index 9929cca6bd..ffa864db8b 100644 --- a/.github/workflows/release-snapshot.yml +++ b/.github/workflows/release-snapshot.yml @@ -12,6 +12,9 @@ jobs: - uses: actions/checkout@v4 - uses: ./.github/actions/gh-setup - name: Create Snapshot Release + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: | yarn run version-packages --snapshot "${{ github.ref_name }}" echo '---'