From 04d244a5403fd9ae2db65079cbcae87aebe5d250 Mon Sep 17 00:00:00 2001 From: Kohei Asai Date: Wed, 31 Jan 2024 23:03:35 -0800 Subject: [PATCH] chore: modify on-pull request gha --- .github/workflows/on-pull-request.yml | 46 +++++++++++++-------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/workflows/on-pull-request.yml b/.github/workflows/on-pull-request.yml index d2ec958..bf03cc6 100644 --- a/.github/workflows/on-pull-request.yml +++ b/.github/workflows/on-pull-request.yml @@ -45,26 +45,26 @@ jobs: vercel-org-id: ${{ secrets.VERCEL_ORG_ID }} vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }} deploy: - needs: - - format-check - - lint - - prebuild - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Set up Node - uses: actions/setup-node@v4 - with: - node-version: 21 - - name: Install Dependencies - run: npm ci - - name: Vercel Deploy - id: deployment - uses: ./.github/actions/vercel-deploy - with: - vercel-org-id: ${{ secrets.VERCEL_ORG_ID }} - vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }} - vercel-token: ${{ secrets.VERCEL_TOKEN }} - - name: Test - run: echo ${{ steps.deployment.outputs.url }} + needs: + - format-check + - lint + - prebuild + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Set up Node + uses: actions/setup-node@v4 + with: + node-version: 21 + - name: Install Dependencies + run: npm ci + - name: Vercel Deploy + id: deployment + uses: ./.github/actions/vercel-deploy + with: + vercel-org-id: ${{ secrets.VERCEL_ORG_ID }} + vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }} + vercel-token: ${{ secrets.VERCEL_TOKEN }} + - name: Test + run: echo ${{ steps.deployment.outputs.url }}