Skip to content

Commit

Permalink
ci: setup pnpm with standalone version
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Mar 6, 2024
1 parent 420f837 commit e01729c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,24 @@ jobs:

steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v3
with:
standalone: true

- name: Set node version to ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: corepack enable
cache: pnpm

- name: Install
run: pnpm i

- name: Downgrade deps for Node 14
run: pnpm i tsup@6.7.0
if: ${{ matrix.node == 14 }}

- name: Build
run: pnpm run build

Expand Down

0 comments on commit e01729c

Please sign in to comment.