Skip to content

Commit

Permalink
Add version matrix for PNPM
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusabelli authored Oct 20, 2023
1 parent 0f68e94 commit 6dba80a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ jobs:
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
pnpm-version: [5.x.x, 6.x.x, 7.29.3]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Setup pnpm
- name: Setup PNPM ${{ matrix.pnpm-version }}
uses: pnpm/action-setup@v2.4.0
with:
version: 8
version: ${{ matrix.pnpm-version }}
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpm test

0 comments on commit 6dba80a

Please sign in to comment.