Skip to content

Commit 7ef925b

Browse files
committed
fix: pnpm 8 issues
1 parent 589b322 commit 7ef925b

File tree

3 files changed

+2998
-2895
lines changed

3 files changed

+2998
-2895
lines changed

.github/workflows/doc-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Install and Build
1919
run: |
2020
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
21-
npm i -g pnpm
21+
npm i -g pnpm@8
2222
cargo build
2323
cd wasm && wasm-pack build --release --scope=gengjiawen
2424
pnpm i

.gitpod.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ RUN git clone --depth 1 "https://github.com/emscripten-core/emsdk.git" $HOME/.em
2323
RUN brew install binaryen wabt wasm-pack
2424

2525
# fix Node.js path and use latest Node.js
26-
RUN brew install n && sudo /home/linuxbrew/.linuxbrew/bin/n latest && sudo /usr/local/bin/npm i -g yarn sao
26+
RUN brew install n && sudo /home/linuxbrew/.linuxbrew/bin/n latest && sudo /usr/local/bin/npm i -g yarn sao pnpm
2727
ENV PATH=/usr/local/bin/:$PATH
2828
RUN printf "\nexport PATH="/usr/local/bin/:$PATH"\n" >> ~/.bashrc

0 commit comments

Comments
 (0)