Skip to content

Commit 06e5c66

Browse files
committed
ci: update bump-packagejson-version
1 parent b698943 commit 06e5c66

1 file changed

Lines changed: 18 additions & 6 deletions

File tree

.github/workflows/npm.yml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,14 @@ jobs:
2323
run: npm install -g npm@latest
2424
- name: Checkout
2525
uses: actions/checkout@v6
26+
- name: Install pnpm
27+
run: npm install -g pnpm
28+
- name: Set pnpm store path
29+
run: mkdir -p ~/.pnpm-store && pnpm config set store ~/.pnpm-store
2630
- name: Install dependencies
27-
run: npm i
31+
run: pnpm install --no-lockfile
2832
- name: Bump package.json version from tag
29-
uses: TypescriptPrime/bump-packagejson-version@cedd67a09090f3ad9334349d3d0bc1a795a1a149
33+
uses: TypescriptPrime/bump-packagejson-version@bfa9fbc7176cebc015d1b5fdd44876fb3a8feb83
3034
- name: Build
3135
run: npm run build
3236
- name : Publish to npm
@@ -48,10 +52,14 @@ jobs:
4852
run: npm install -g npm@latest
4953
- name: Checkout
5054
uses: actions/checkout@v6
55+
- name: Install pnpm
56+
run: npm install -g pnpm
57+
- name: Set pnpm store path
58+
run: mkdir -p ~/.pnpm-store && pnpm config set store ~/.pnpm-store
5159
- name: Install dependencies
52-
run: npm i
60+
run: pnpm install --no-lockfile
5361
- name: Bump package.json version from tag
54-
uses: TypescriptPrime/bump-packagejson-version@cedd67a09090f3ad9334349d3d0bc1a795a1a149
62+
uses: TypescriptPrime/bump-packagejson-version@bfa9fbc7176cebc015d1b5fdd44876fb3a8feb83
5563
- name: Build
5664
run: npm run build
5765
- name : Publish to npm
@@ -73,10 +81,14 @@ jobs:
7381
run: npm install -g npm@latest
7482
- name: Checkout
7583
uses: actions/checkout@v6
84+
- name: Install pnpm
85+
run: npm install -g pnpm
86+
- name: Set pnpm store path
87+
run: mkdir -p ~/.pnpm-store && pnpm config set store ~/.pnpm-store
7688
- name: Install dependencies
77-
run: npm i
89+
run: pnpm install --no-lockfile
7890
- name: Bump package.json version from tag
79-
uses: TypescriptPrime/bump-packagejson-version@cedd67a09090f3ad9334349d3d0bc1a795a1a149
91+
uses: TypescriptPrime/bump-packagejson-version@bfa9fbc7176cebc015d1b5fdd44876fb3a8feb83
8092
- name: Build
8193
run: npm run build
8294
- name : Publish to npm

0 commit comments

Comments
 (0)