Skip to content

Update config.js - #3

Open
rashidmRi wants to merge 1 commit into
Adeel-Xtech:mainfrom
rashidmRi:patch-1
Open

Update config.js#3
rashidmRi wants to merge 1 commit into
Adeel-Xtech:mainfrom
rashidmRi:patch-1

Conversation

@rashidmRi

Copy link
Copy Markdown

name: Node.js CI

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:

runs-on: ubuntu-latest

strategy:
  matrix:
    node-version: [20.x]   # Specific Node.js version set to 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 }}
    check-latest: true   # Always grab the exact latest patch for this version

- name: Install dependencies
  run: npm install

- name: Build project (optional)
  run: npm run build || echo "No build script found, skipping..."

- name: Start application
  run: npm start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant