Skip to content

Commit 2ef2ff3

Browse files
committed
Fix snapshot release pipeline
1 parent e12635d commit 2ef2ff3

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/snapshot_release.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
os: [ubuntu-latest, windows-latest, macos-latest]
1818
node: [18]
1919
runs-on: ${{matrix.os}}
20+
env:
21+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2022
steps:
2123
- name: Set up Git repository
2224
uses: actions/checkout@v3
@@ -29,7 +31,9 @@ jobs:
2931
- name: Setup pnpm
3032
uses: pnpm/action-setup@v3.0.0
3133
- name: Install
32-
run: pnpm i
34+
run: |
35+
pnpm whoami
36+
pnpm i
3337
- name: Install @nut-tree/libnut@next
3438
run: |
3539
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:
4448
needs:
4549
- test
4650
runs-on: ubuntu-latest
51+
env:
52+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4753
steps:
4854
- name: Set up Git repository
4955
uses: actions/checkout@v3
@@ -56,7 +62,9 @@ jobs:
5662
- name: Setup pnpm
5763
uses: pnpm/action-setup@v3.0.0
5864
- name: Install
59-
run: pnpm i
65+
run: |
66+
pnpm whoami
67+
pnpm i
6068
- name: Install @nut-tree/libnut@next
6169
run: |
6270
pnpm --filter @nut-tree/libnut i @nut-tree/libnut-darwin@next @nut-tree/libnut-linux@next @nut-tree/libnut-win32@next

0 commit comments

Comments
 (0)