Skip to content

Commit

Permalink
Merge pull request #193 from sparanoid/pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
sparanoid authored Jul 27, 2023
2 parents 622f7db + b83f9bc commit c3da9b7
Show file tree
Hide file tree
Showing 3 changed files with 1,550 additions and 1,591 deletions.
32 changes: 28 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,31 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
cache: yarn
- run: yarn install
- run: yarn test
node-version: 20

- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
version: latest
run_install: false

- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install

- name: Run test
run: pnpm test
Loading

0 comments on commit c3da9b7

Please sign in to comment.