Skip to content

Commit

Permalink
chore: 升级yarn的版本
Browse files Browse the repository at this point in the history
  • Loading branch information
duan602728596 committed Nov 5, 2024
1 parent 9791297 commit 2f6a3e1
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build-xlarge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- run: corepack enable

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

Expand All @@ -27,7 +29,8 @@ jobs:
VERSION=${VERSION#refs/heads/build/v}
echo "VERSION=$VERSION" >> $GITHUB_ENV
- run: SKIP_YARN_COREPACK_CHECK=0 npm run install:ci
- run: YARN_ENABLE_IMMUTABLE_INSTALLS=false npm run install:ci
if: ${{ always() }}

- run: npm run install:babel

Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- run: corepack enable

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

Expand All @@ -25,7 +27,8 @@ jobs:
VERSION=${VERSION#refs/heads/build/v}
echo "VERSION=$VERSION" >> $GITHUB_ENV
- run: SKIP_YARN_COREPACK_CHECK=0 npm run install:ci
- run: YARN_ENABLE_IMMUTABLE_INSTALLS=false npm run install:ci
if: ${{ always() }}

- run: npm run install:babel

Expand Down
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"workspaces": [
"packages/*"
],
"packageManager": "yarn@4.2.2",
"packageManager": "yarn@4.5.1",
"dependencies": {
"@vercel/ncc": "^0.38.1",
"cross-zip": "^4.0.0",
Expand Down Expand Up @@ -69,6 +69,11 @@
"husky": "^8.0.3",
"lint-staged": "^15.2.0"
},
"optionalDependencies": {
"@qqtools/esm-build": "workspace:*",
"@qqtools3/main": "workspace:*",
"@qqtools3/qqtools": "workspace:*"
},
"resolutions": {
"@types/react": "npm:types-react@rc",
"@types/react-dom": "npm:types-react-dom@rc",
Expand Down

0 comments on commit 2f6a3e1

Please sign in to comment.