Skip to content

Commit

Permalink
fix: npm fails to publish (#505)
Browse files Browse the repository at this point in the history
* fix: npm fails to publish

* Update on-merge-main.yml
  • Loading branch information
makserik authored Jan 24, 2024
1 parent ec834d6 commit 8f0d104
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/on-merge-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ jobs:
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Setup Node.js 16
- name: Setup Node.js 20
uses: actions/setup-node@v3
with:
node-version: 16
- name: Update npm to 8.x
node-version: 20
- name: Update npm to 10.x
run: |
npm i -g npm@8
npm i -g npm@10
- name: Install Dependencies
run: npm install
- name: Setup CI Git User
Expand All @@ -35,7 +35,7 @@ jobs:
run: |
npm run clean
npm run build
npm login
npm whoami
- name: "Create Pull Request or Publish to npm"
uses: changesets/action@v1
with:
Expand Down

0 comments on commit 8f0d104

Please sign in to comment.