Skip to content

Commit

Permalink
ci: remove corepack
Browse files Browse the repository at this point in the history
  • Loading branch information
huang-julien committed Feb 7, 2025
1 parent 9e28241 commit 4b7b548
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 7 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9.15.4
run_install: false
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: "pnpm"
cache: 'pnpm'
- run: pnpm install
- run: pnpm lint:fix
- uses: autofix-ci/action@ea32e3a12414e6d3183163c3424a7d7a8631ad84
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9.15.4
run_install: false
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: "pnpm"
cache: 'pnpm'
- run: pnpm install
- run: pnpm dev:prepare
- run: pnpm lint
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"unbuild": "^2.0.0",
"vitest": "^2.1.5"
},
"packageManager": "pnpm@9.0.6",
"packageManager": "pnpm@9.15.4",
"dependencies": {
"@azure/monitor-opentelemetry": "1.8.0",
"@opentelemetry/api": "^1.9.0",
Expand Down

0 comments on commit 4b7b548

Please sign in to comment.