Skip to content

Commit b86cc0d

Browse files
author
Rajat
committed
Fixing ENEEDAUTH while publishing
1 parent 531656c commit b86cc0d

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/publish-packages.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@ jobs:
2222
steps:
2323
- name: checkout
2424
uses: actions/checkout@v4
25+
with:
26+
fetch-depth: 0
2527

2628
- name: Configure CI Git User
2729
run: |
28-
git config --global user.name 'Rajat Saxena'
29-
git config --global user.email 'hi@sub.rajatsaxena.dev'
30+
git config --global user.name 'CodeLit'
31+
git config --global user.email 'hi@codelit.dev'
3032
git remote set-url origin https://x-access-token:${{ secrets.PAT }}@github.com/${{ github.repository }}
3133
env:
3234
GITHUB_PAT: ${{ secrets.PAT }}
@@ -39,6 +41,13 @@ jobs:
3941
- name: Setup pnpm
4042
uses: pnpm/action-setup@v4
4143

44+
- name: Setup Node
45+
uses: actions/setup-node@v4
46+
with:
47+
node-version: 24
48+
cache: pnpm
49+
registry-url: https://registry.npmjs.org
50+
4251
- name: Install Packages
4352
run: pnpm install
4453

0 commit comments

Comments
 (0)