Skip to content

Commit

Permalink
Replace dependency management tool: use pnpm for dependency managemen…
Browse files Browse the repository at this point in the history
…t by default
  • Loading branch information
azwpayne committed Jan 6, 2025
1 parent 1fc36f8 commit 98abbe7
Show file tree
Hide file tree
Showing 4 changed files with 366 additions and 571 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ concurrency:
jobs:
# Build Job
build:
name: Test it On ${{ matrix.os }} and node-${{matrix.node-version}}
name: Test it On ${{ matrix.os }} and node-${{ matrix.node-version }}
# The type of runner that the job will run on
runs-on: ${{ matrix.os }}
strategy:
Expand All @@ -52,7 +52,6 @@ jobs:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
# See supported Node.js release schedule at https://nodejs.org/zh-cn/download/releases/
node-version:
- "16.x"
- "18.x"
- "20.x"
- "22.x"
Expand All @@ -69,11 +68,10 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache: 'pnpm'
registry-url: https://npm.pkg.github.com/

- name: Dependency builds
run: npm ci
- name: Install dependencies
run: pnpm install

- name: Check validation
run: |
Expand Down
Loading

0 comments on commit 98abbe7

Please sign in to comment.