From 4a21a0f0d92a619261e5fe4523769146d83f999a Mon Sep 17 00:00:00 2001 From: xdd <45672942@qq.com> Date: Sun, 11 Aug 2024 23:04:36 +0800 Subject: [PATCH] ci: fix node version --- .github/workflows/deploy.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 040dd8d..98f55b4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -23,20 +23,20 @@ jobs: - name: install Node.js uses: actions/setup-node@v3.8.1 with: - node-version: '18.X' + node-version: '16.X' - - name: Setup pnpm + # - name: Setup pnpm # You may pin to the exact commit or the version. # uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 - uses: pnpm/action-setup@v2.4.0 - with: + # uses: pnpm/action-setup@v2.4.0 + # with: # Version of pnpm to install - version: '8.X' + # version: '8.X' - name: install deps - run: pnpm i + run: npm i - name: build app - run: pnpm run build + run: npm run build - name: Deploy to the server. uses: cross-the-world/scp-pipeline@master