Skip to content

Commit

Permalink
swap to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
mansona committed Oct 1, 2024
1 parent 0d4019b commit 6c63522
Show file tree
Hide file tree
Showing 4 changed files with 7,350 additions and 5,904 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,12 @@ jobs:

steps:
- uses: actions/checkout@v4

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

- name: install
run: yarn install

- name: lint
run: yarn lint

- name: test
run: yarn test
env:
CI: true
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm run lint
- run: pnpm run test
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"prettier": "2.1.1"
},
"engines": {
"node": "10.* || >= 12.*"
}
"node": "18.* || 20.* || >= 22.*"
},
"packageManager": "[email protected]+sha512.0a203ffaed5a3f63242cd064c8fb5892366c103e328079318f78062f24ea8c9d50bc6a47aa3567cabefd824d170e78fa2745ed1f16b132e16436146b7688f19b"
}
Loading

0 comments on commit 6c63522

Please sign in to comment.