From 2ef2ff322bc73a921910eedfcf040b5297433245 Mon Sep 17 00:00:00 2001 From: Simon Hofmann Date: Thu, 15 Feb 2024 21:09:13 +0100 Subject: [PATCH] Fix snapshot release pipeline --- .github/workflows/snapshot_release.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/snapshot_release.yaml b/.github/workflows/snapshot_release.yaml index 867775b..ca5443a 100644 --- a/.github/workflows/snapshot_release.yaml +++ b/.github/workflows/snapshot_release.yaml @@ -17,6 +17,8 @@ jobs: os: [ubuntu-latest, windows-latest, macos-latest] node: [18] runs-on: ${{matrix.os}} + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} steps: - name: Set up Git repository uses: actions/checkout@v3 @@ -29,7 +31,9 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v3.0.0 - name: Install - run: pnpm i + run: | + pnpm whoami + pnpm i - name: Install @nut-tree/libnut@next run: | pnpm --filter @nut-tree/libnut i @nut-tree/libnut-darwin@next @nut-tree/libnut-linux@next @nut-tree/libnut-win32@next @@ -44,6 +48,8 @@ jobs: needs: - test runs-on: ubuntu-latest + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} steps: - name: Set up Git repository uses: actions/checkout@v3 @@ -56,7 +62,9 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v3.0.0 - name: Install - run: pnpm i + run: | + pnpm whoami + pnpm i - name: Install @nut-tree/libnut@next run: | pnpm --filter @nut-tree/libnut i @nut-tree/libnut-darwin@next @nut-tree/libnut-linux@next @nut-tree/libnut-win32@next