From 428ce9e602d67b8f6425a667eac2ddb155d79724 Mon Sep 17 00:00:00 2001 From: Sugathwasantha Date: Sun, 20 Oct 2024 18:27:03 +0530 Subject: [PATCH] Create deloy.yml --- .github/workflows/deloy.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/deloy.yml diff --git a/.github/workflows/deloy.yml b/.github/workflows/deloy.yml new file mode 100644 index 000000000..9de4c292a --- /dev/null +++ b/.github/workflows/deloy.yml @@ -0,0 +1,33 @@ +name: Node.js CI + +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