Skip to content

Commit 86f7bdc

Browse files
authored
Merge branch 'main' into fix/fix-build-pipeline (#19)
1 parent 9a461d2 commit 86f7bdc

2 files changed

Lines changed: 15 additions & 7 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ jobs:
4242
uses: actions/setup-node@v4
4343
with:
4444
node-version: '18'
45-
cache: 'pnpm'
4645

4746
- name: Install Rust stable
4847
uses: dtolnay/rust-toolchain@stable
@@ -61,9 +60,13 @@ jobs:
6160
uses: pnpm/action-setup@v3
6261
with:
6362
version: 8
63+
run_install: true
6464

65-
- name: Install dependencies
66-
run: pnpm install
65+
- name: Setup Node.js with PNPM cache
66+
uses: actions/setup-node@v4
67+
with:
68+
node-version: '18'
69+
cache: 'pnpm'
6770

6871
- name: Get version from package.json if not provided
6972
if: inputs.version == ''

.github/workflows/release.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,20 @@ jobs:
7474
uses: actions/setup-node@v4
7575
with:
7676
node-version: '18'
77-
cache: 'pnpm'
77+
# Remove cache since we need to set up pnpm first
7878

7979
- name: Install PNPM
8080
uses: pnpm/action-setup@v3
8181
with:
8282
version: 8
83-
84-
- name: Install dependencies
85-
run: pnpm install
83+
run_install: true
84+
85+
# Add caching after pnpm is available
86+
- name: Setup Node.js with PNPM cache
87+
uses: actions/setup-node@v4
88+
with:
89+
node-version: '18'
90+
cache: 'pnpm'
8691

8792
- name: Download all artifacts
8893
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)