Skip to content

Commit

Permalink
chore: switch to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
mukilane committed Nov 13, 2024
1 parent 367274d commit 34810d5
Show file tree
Hide file tree
Showing 4 changed files with 7,335 additions and 6,377 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,43 +18,45 @@ jobs:

strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
node-version: [14.x, 16.x, 18.x, 20,x]
os: [ubuntu, windows]

steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v4
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: yarn
cache: pnpm

- name: Install Dependencies
run: yarn install --frozen-lockfile
run: pnpm install --frozen-lockfile

- name: Lint
run: yarn lint:js
run: pnpm lint:js

- name: Run Tests
run: yarn test
run: pnpm test

floating:
name: "Floating Dependencies - Node.js ${{ matrix.node-version }}"
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
node-version: [14.x, 16.x, 18.x, 20,x]

steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: yarn
cache: pnpm

- name: Install Dependencies
run: yarn install --no-lockfile
run: pnpm install --no-lockfile

- name: Run Tests
run: yarn test
run: pnpm test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Pinning solely to versioned releases should be preferred.

To run tests:

`npm test`
`pnpm test`

### LICENSE

Expand Down
Loading

0 comments on commit 34810d5

Please sign in to comment.