Skip to content

Commit

Permalink
Fix actions for pnpm (#1)
Browse files Browse the repository at this point in the history
* Fix actions for pnpm

* Setup pnpm first

* Update pnpm lockfile
  • Loading branch information
gamebox authored Jan 3, 2024
1 parent 23fba85 commit b24a584
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 43 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,26 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ['14.x']
node: ['16.x']
os: [ubuntu-latest, windows-latest, macOS-latest]

steps:
- name: Checkout repo
uses: actions/checkout@v2

- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
uses: actions/checkout@v4

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

- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: pnpm
cache-dependency-file: pnpm-lock.yaml

- name: Install dependencies
run: pnpm install

Expand Down
77 changes: 41 additions & 36 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b24a584

Please sign in to comment.