From 2ec5727f3af35f0504dc7e15437985c748862adf Mon Sep 17 00:00:00 2001 From: Megghy Date: Mon, 20 Nov 2023 18:59:19 +0800 Subject: [PATCH] Update node.js.yml --- .github/workflows/node.js.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 79ffd60..6b70083 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -26,5 +26,11 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'npm' - - run: npm install - - run: npm build + - name: Run install + uses: borales/actions-yarn@v4 + with: + cmd: install # will run `yarn install` command + - name: Run build + uses: borales/actions-yarn@v4 + with: + cmd: build # will run `yarn build` command