Skip to content

Commit

Permalink
add: CI file
Browse files Browse the repository at this point in the history
  • Loading branch information
isarojdahal committed Oct 5, 2024
1 parent 1292135 commit 41f6a10
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Deploy Frontend to production

on:
push:
branches: [main]

jobs:
build-and-deploy:
runs-on: self-hosted

steps:
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: 18

- name: Install PNPM
uses: pnpm/action-setup@v3
with:
version: 8

- name: Clone main repo
uses: actions/checkout@v4

- name: Build Project
run: pnpm install && pnpm build

0 comments on commit 41f6a10

Please sign in to comment.