Skip to content

Commit

Permalink
Add support for pnpm 9
Browse files Browse the repository at this point in the history
  • Loading branch information
robinvw1 committed Aug 22, 2024
1 parent 184f8cb commit bde05ad
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- 6
- 7
- 8
- 9
node:
- 10
- 12
Expand All @@ -28,6 +29,15 @@ jobs:
- 18
- 20
exclude:
# pnpm >= v9 does not support node <= v16
- node: 10
version: 9
- node: 12
version: 9
- node: 14
version: 9
- node: 16
version: 9
# pnpm >= v8 does not support node <= v14
- node: 10
version: 8
Expand All @@ -47,25 +57,25 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Test pnpm
uses: asdf-vm/actions/plugin-test@v2
uses: asdf-vm/actions/plugin-test@v3
with:
command: pnpm --version
version: latest:${{ matrix.version }}
- name: Test pnpx
if: matrix.version < 7
uses: asdf-vm/actions/plugin-test@v2
uses: asdf-vm/actions/plugin-test@v3
with:
command: pnpx --version
version: latest:${{ matrix.version }}
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run ShellCheck
run: shellcheck bin/*
shfmt:
Expand All @@ -75,7 +85,7 @@ jobs:
pull-requests: write
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: reviewdog/action-shfmt@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit bde05ad

Please sign in to comment.