From 6232f716169f30018ee0c9a78c37cfad6fd87d19 Mon Sep 17 00:00:00 2001 From: Ali Date: Thu, 21 Dec 2023 00:43:23 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore(webpack.yml):=20refactor?= =?UTF-8?q?=20workflow=20to=20separate=20install=20and=20build=20steps=20f?= =?UTF-8?q?or=20better=20readability=20and=20maintainability?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/webpack.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/webpack.yml b/.github/workflows/webpack.yml index 6132c09..cd4819b 100644 --- a/.github/workflows/webpack.yml +++ b/.github/workflows/webpack.yml @@ -14,10 +14,11 @@ jobs: node-version: [16.x] steps: - uses: actions/checkout@v3 - - name: Use Node.js ${{ matrix.node-version }} + - name: Run install uses: borales/actions-yarn@v4 with: - node-version: ${{ matrix.node-version }} - cmd: - install - build + cmd: install + - name: Build production bundle + uses: borales/actions-yarn@v4 + with: + cmd: build \ No newline at end of file