Skip to content

AYS-415 | Environment config files added for production & development… #17

AYS-415 | Environment config files added for production & development…

AYS-415 | Environment config files added for production & development… #17

# Purpose: This file is used for check application health.
# Name of the workflow
name: Application Status
on:
push:
branches:
- main # Trigger the workflow when a push event occurs on the main branch
jobs:
build: # Define the "build" job
runs-on: ubuntu-latest # Run the job on the latest version of Ubuntu
steps: # List of steps to execute within the job
- name: Update package cache # Step to update the package cache
run: sudo apt-get update
- name: Checkout code # Step to check out the code from the repository
uses: actions/checkout@v3
- uses: actions/setup-node@v4 # Step to set up Node.js
with:
node-version: 18
- name: Install npm # Install with npm
run: npm install
- name: Build Project # Build with npm
run: npm run build