Skip to content

Commit

Permalink
chore: use corepack
Browse files Browse the repository at this point in the history
  • Loading branch information
geekdada committed Nov 20, 2024
1 parent 290b393 commit d4eaedd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,12 @@ jobs:
- uses: actions/checkout@v3

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

- uses: pnpm/action-setup@v4
name: Install pnpm
id: pnpm-install
with:
version: 9
run_install: false
- name: Enable Corepack
run: corepack enable

- name: Get pnpm store directory
id: pnpm-cache
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@
"engines": {
"node": ">=18.0.0"
},
"packageManager": "[email protected]",
"lint-staged": {
"*.js": "eslint",
"*.ts": "eslint --ext .ts"
Expand Down

0 comments on commit d4eaedd

Please sign in to comment.