mirror of
https://github.com/System-End/hackatime-desktop.git
synced 2026-04-19 16:28:19 +00:00
chore(ci): install pnpm with action-setup
This commit is contained in:
parent
0053847bd4
commit
f71639892f
1 changed files with 5 additions and 5 deletions
10
.github/workflows/release.yaml
vendored
10
.github/workflows/release.yaml
vendored
|
|
@ -94,15 +94,15 @@ jobs:
|
|||
key: '${{ runner.os }}-rust-target-${{ hashFiles(''**/Cargo.lock'') }}'
|
||||
restore-keys: |
|
||||
${{ runner.os }}-rust-target-
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: 9
|
||||
- name: Use Node.js
|
||||
uses: actions/setup-node@v5
|
||||
with:
|
||||
node-version: 20
|
||||
- name: Install pnpm via corepack
|
||||
shell: bash
|
||||
run: |
|
||||
corepack enable
|
||||
corepack prepare --activate
|
||||
cache: pnpm
|
||||
- name: Get pnpm store directory
|
||||
id: pnpm-cache
|
||||
shell: bash
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue