From af3204cecae7402203ef7006eb37eec477539e92 Mon Sep 17 00:00:00 2001 From: Chamo851 Date: Wed, 17 Jul 2024 21:36:52 +0530 Subject: [PATCH] Create deploy.ymi --- .github/Workflows/deploy.ymi | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/Workflows/deploy.ymi diff --git a/.github/Workflows/deploy.ymi b/.github/Workflows/deploy.ymi new file mode 100644 index 00000000..f9af6b93 --- /dev/null +++ b/.github/Workflows/deploy.ymi @@ -0,0 +1,31 @@ +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [20.x] + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + + - name: Install dependencies + run: npm install + + - name: Start application + run: npm start