Skip to content

Commit 8f0d104

Browse files
authored
fix: npm fails to publish (#505)
* fix: npm fails to publish * Update on-merge-main.yml
1 parent ec834d6 commit 8f0d104

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/on-merge-main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ jobs:
1818
steps:
1919
- name: Checkout Repo
2020
uses: actions/checkout@v3
21-
- name: Setup Node.js 16
21+
- name: Setup Node.js 20
2222
uses: actions/setup-node@v3
2323
with:
24-
node-version: 16
25-
- name: Update npm to 8.x
24+
node-version: 20
25+
- name: Update npm to 10.x
2626
run: |
27-
npm i -g npm@8
27+
npm i -g npm@10
2828
- name: Install Dependencies
2929
run: npm install
3030
- name: Setup CI Git User
@@ -35,7 +35,7 @@ jobs:
3535
run: |
3636
npm run clean
3737
npm run build
38-
npm login
38+
npm whoami
3939
- name: "Create Pull Request or Publish to npm"
4040
uses: changesets/action@v1
4141
with:

0 commit comments

Comments
 (0)