From 0617f461c5b53e3b63cf3c31eacda53ed7b0cec3 Mon Sep 17 00:00:00 2001 From: winkidney Date: Mon, 30 Sep 2024 20:14:24 +0800 Subject: [PATCH] fix: tyr to fix nodejs build --- .github/workflows/node.js.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 932748b..bbbe4a1 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: - node-version: [ 12.x, 14.x ] + node-version: [ 18.x, ] steps: - uses: actions/checkout@v2 @@ -23,8 +23,8 @@ jobs: uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - - run: npm install yarn - - run: yarn install --registry https://registry.yarnpkg.com + - run: npm install -g pnpm + - run: pnpm install working-directory: ./pinry-spa - - run: yarn build + - run: pnpm build working-directory: ./pinry-spa