Skip to content

Commit c43abfd

Browse files
authored
Update ci.yml
1 parent d10ca34 commit c43abfd

1 file changed

Lines changed: 15 additions & 14 deletions

File tree

.github/workflows/ci.yml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -56,22 +56,23 @@ jobs:
5656
runs-on: ubuntu-latest
5757

5858
steps:
59-
- name: Checkout repo
60-
uses: actions/checkout@v4
59+
- name: Checkout repo
60+
uses: actions/checkout@v4
6161

62-
- name: Set up node
63-
uses: actions/setup-node@v4
62+
- name: Set up node
63+
uses: actions/setup-node@v4
64+
with:
65+
node-version: '22'
66+
registry-url: 'https://registry.npmjs.org'
6467

65-
- name: Install pnpm
66-
run: npm install -g pnpm@10.20.0
68+
- name: Install pnpm
69+
run: npm install -g pnpm@10.20.0
6770

68-
- name: Install dependencies
69-
run: pnpm install
71+
- name: Install dependencies
72+
run: pnpm install
7073

71-
- name: Build
72-
run: pnpm build
74+
- name: Build
75+
run: pnpm build
7376

74-
- name: Publish to npm
75-
run: |
76-
npm config set registry https://registry.npmjs.org
77-
npm publish --access public
77+
- name: Publish to npm
78+
run: npm publish --access public

0 commit comments

Comments
 (0)