Skip to content

Commit 715244c

Browse files
committed
ci: remove explicit pnpm version and simplify npm config
1 parent 84b3abb commit 715244c

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

.github/actions/setup-pnpm/action.yml

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,37 +16,22 @@ runs:
1616
steps:
1717
- name: Install pnpm
1818
uses: pnpm/action-setup@v4
19-
with:
20-
version: 'latest'
2119

2220
- name: Install Node
2321
uses: actions/setup-node@v6
2422
with:
2523
node-version: ${{ inputs.node-version }}
2624
cache: 'pnpm'
2725
cache-dependency-path: '**/pnpm-lock.yaml'
28-
registry-url: 'https://registry.npmjs.org'
29-
always-auth: true
26+
# registry-url: 'https://registry.npmjs.org'
27+
# always-auth: true
3028

3129
- name: Configure npm authentication
3230
if: ${{ inputs.npm-token != '' }}
3331
shell: bash
3432
run: |
3533
echo "//registry.npmjs.org/:_authToken=${{ inputs.npm-token }}" >> ~/.npmrc
3634
37-
# - name: Get pnpm store directory
38-
# shell: bash
39-
# run: |
40-
# echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
41-
#
42-
# - name: Setup pnpm cache
43-
# uses: actions/cache@v4
44-
# with:
45-
# path: ${{ env.STORE_PATH }}
46-
# key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
47-
# restore-keys: |
48-
# ${{ runner.os }}-pnpm-store-
49-
5035
- name: Install dependencies
5136
shell: bash
5237
run: pnpm install

0 commit comments

Comments
 (0)