Skip to content

Commit

Permalink
Update PR/develop action to cache pnpm files (#2671)
Browse files Browse the repository at this point in the history
* Update PR/develop action to cache pnpm files

* Install pnpm before node

* empty commit for build speed testing

---------

Co-authored-by: Tim Welch <[email protected]>
  • Loading branch information
mfedderly and twelch authored Aug 6, 2024
1 parent ccc9e1a commit e231564
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/turf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Install pnpm
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v4
with:
version: 8
run_install: false

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
cache: "pnpm"
node-version: ${{ matrix.node-version }}

- run: pnpm install --frozen-lockfile
- run: git diff --exit-code
- run: pnpm test

0 comments on commit e231564

Please sign in to comment.