From 355df901fb613bc07246d496b05a42c3df15ab8e Mon Sep 17 00:00:00 2001 From: Xanh Date: Sat, 2 Nov 2024 09:05:32 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20add=20test=20step=20to=20pipelin?= =?UTF-8?q?e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy-prod.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml index 1f1e4e7..8e27b33 100644 --- a/.github/workflows/deploy-prod.yml +++ b/.github/workflows/deploy-prod.yml @@ -4,20 +4,18 @@ on: push: branches: - main - # Optionally configure to run only for specific files. For example: - # paths: - # - "website/**" jobs: deploy_live_website: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - # Add any build steps here. For example: - name: Install Dependencies - run: npm install + run: yarn + - name: Run Tests + run: yarn test --ci - name: Build - run: npm run build + run: yarn build - name: Archive Production Artifact uses: actions/upload-artifact@v4 with: