Skip to content

Commit

Permalink
Try to speed up the builds
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelloz committed Mar 17, 2024
1 parent 54adcc1 commit 3784b8f
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,23 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node: [18, 20]
node: [18, 20, 21]

steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js ${{ matrix.node }} @ ${{ matrix.os }}
uses: actions/setup-node@v3
- uses: wyvox/action-setup-pnpm@v3
with:
node-version: ${{ matrix.node }}
cache: pnpm
pnpm-version: 8.15.4

# - uses: pnpm/action-setup@v2
# with:
# version: 8
# - name: Use Node.js ${{ matrix.node }} @ ${{ matrix.os }}
# uses: actions/setup-node@v4
# with:
# node-version: ${{ matrix.node }}
# cache: pnpm

- name: Install dependencies
run: pnpm i
Expand All @@ -40,7 +45,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 20
node-version: 21
cache: pnpm
- run: pnpm i
- run: pnpm build
Expand Down

0 comments on commit 3784b8f

Please sign in to comment.