Skip to content

Commit

Permalink
Switch to pnpm package manager (#4)
Browse files Browse the repository at this point in the history
* Switch to pnpm

* Update CI to use pnpm

* Add node 20, remove 14 from test matrix
  • Loading branch information
IanVS authored Mar 19, 2024
1 parent ddb22de commit c592ec4
Show file tree
Hide file tree
Showing 4 changed files with 1,463 additions and 5,411 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,22 @@ jobs:
strategy:
matrix:
node-version:
- 20
- 18
- 16
- 14
name: Node.js ${{ matrix.node-version }}
steps:
- name: Checkout the repository
uses: actions/checkout@v2
uses: actions/checkout@v3
# Pulls version from packageManager key in package.json
- name: Setup pnpm
uses: pnpm/action-setup@v2
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- name: Install dependencies
uses: bahmutov/npm-install@v1
run: pnpm install
- name: Run unit tests
run: npm test
run: pnpm test
Loading

0 comments on commit c592ec4

Please sign in to comment.