Skip to content

Commit

Permalink
fix: add build step before deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
riyoneri committed Oct 31, 2024
1 parent 460d42a commit f4591ba
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,16 @@ jobs:
- name: Checkout the repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "20.x"

- name: Install dependencies
run: npm install

- name: Build project
run: npm run build

- name: Deploy Project Artifacts to Vercel Project
run: npx vercel --prod --token=${{ secrets.VERCEL_TOKEN }}

0 comments on commit f4591ba

Please sign in to comment.