Skip to content

Commit df3ee6f

Browse files
committed
ci(git): use pnpm
1 parent 1fe2c23 commit df3ee6f

File tree

2 files changed

+7
-18
lines changed

2 files changed

+7
-18
lines changed

.github/workflows/npm-publish.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,13 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v4
15+
- uses: pnpm/action-setup@v4
1516
- uses: actions/setup-node@v4
1617
with:
17-
node-version: 20
18-
- run: npm ci
18+
node-version: latest
19+
cache: pnpm
20+
registry-url: https://registry.npmjs.org
21+
- run: pnpm build
1922

2023
publish-npm:
2124
needs: build
@@ -24,9 +27,8 @@ jobs:
2427
- uses: actions/checkout@v4
2528
- uses: actions/setup-node@v4
2629
with:
27-
node-version: 20
30+
node-version: latest
2831
registry-url: https://registry.npmjs.org/
29-
- run: npm ci
30-
- run: npm publish
32+
- run: pnpm publish
3133
env:
3234
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

package-lock.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)