From 1771015c40aec2badb338afc35e012643a1f9e4f Mon Sep 17 00:00:00 2001 From: Aaron Chong Date: Thu, 4 Jul 2024 13:52:13 +0800 Subject: [PATCH] Setup pnpm and node manually Signed-off-by: Aaron Chong --- .github/actions/bootstrap/action.yml | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/actions/bootstrap/action.yml b/.github/actions/bootstrap/action.yml index 94e1f4f2b..53de93f4d 100644 --- a/.github/actions/bootstrap/action.yml +++ b/.github/actions/bootstrap/action.yml @@ -11,13 +11,19 @@ inputs: runs: using: composite steps: - - uses: pnpm/action-setup@v2.2.2 - with: - version: '9.4.0' - - uses: actions/setup-node@v2 - with: - node-version: '16' - cache: 'pnpm' + # - uses: pnpm/action-setup@v2.2.2 + # with: + # version: '8.6.12' + # - uses: actions/setup-node@v2 + # with: + # node-version: '16' + # cache: 'pnpm' + - name: Install pnpm and setup node manually + shell: bash + run: | + curl -fsSL https://raw.githubusercontent.com/pnpm/get.pnpm.io/main/install.sh | env PNPM_VERSION=8.6.12 bash - && \ + source /root/.bashrc && \ + pnpm env use --global 16 - name: Install pipenv run: pip3 install pipenv shell: bash