Skip to content

Commit ee203a6

Browse files
committed
fix: set up pnpm later
1 parent 6f463a8 commit ee203a6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build_and_publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
with:
1717
node-version: 18.x
1818
cache: "yarn"
19-
- uses: pnpm/action-setup@v4
20-
with:
21-
version: 7
19+
# - uses: pnpm/action-setup@v4
20+
# with:
21+
# version: 7
2222
- name: Install packages
2323
run: yarn install
2424
- name: Build package
@@ -65,7 +65,7 @@ jobs:
6565
token: ${{ secrets.PAT }}
6666
- name: Update @upryzing/api dependency
6767
if: ${{ steps.checkTag.outputs.exists }} != true
68-
run: cd upryzing.js && pnpm add @upryzing/api@${{ env.api_version }}
68+
run: cd upryzing.js && corepack enable && pnpm add @upryzing/api@${{ env.api_version }}
6969
- name: Commit changes
7070
if: ${{ steps.checkTag.outputs.exists }} != true
7171
uses: EndBug/add-and-commit@v4

0 commit comments

Comments
 (0)