Skip to content

Commit

Permalink
chore: modify on-pull request gha
Browse files Browse the repository at this point in the history
  • Loading branch information
Kohei Asai committed Feb 1, 2024
1 parent fd4d597 commit 04d244a
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/on-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 04d244a

Please sign in to comment.