From 43cacc467f8817bffed19c5d66c53a0d48323b43 Mon Sep 17 00:00:00 2001 From: Anuj222345 <157805273+Anuj222345@users.noreply.github.com> Date: Sat, 17 Oct 2026 15:00:23 +0530 Subject: [PATCH 1/3] Add Node.js CI workflow for testing and building This workflow sets up a CI pipeline for Node.js applications, including installation of dependencies, building the code, and running tests across multiple Node.js versions. --- .github/workflows/node.js.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/node.js.yml diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml new file mode 100644 index 0000000..093a954 --- /dev/null +++ b/.github/workflows/node.js.yml @@ -0,0 +1,31 @@ +# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs + +name: Node.js CI + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [18.x, 20.x, 22.x] + # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ + + steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + - run: npm ci + - run: npm run build --if-present + - run: npm test From 454e82d9eca1360bf52819746ba21dfd914ad6e0 Mon Sep 17 00:00:00 2001 From: Anuj222345 <157805273+Anuj222345@users.noreply.github.com> Date: Sat, 17 Oct 2026 15:13:59 +0530 Subject: [PATCH 2/3] Add Anuj Sharma to contributions list Added Anuj Sharma's contribution details to the YAML file. --- _data/contributions.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/_data/contributions.yml b/_data/contributions.yml index a00aa94..f15f2c0 100644 --- a/_data/contributions.yml +++ b/_data/contributions.yml @@ -9,6 +9,9 @@ name: "Arham Khan" avatar: "https://avatars.githubusercontent.com/u/110810048?s=400&u=0d08097f7f29b489494aca867992d9d0dd99c1d7&v=4" - github_url: "https://github.com/todikun" + name: "Anuj Sharma" + avatar: "https://github.com/Anuj222345.png" + github_url: "https://github.com/Anuj222345" name: "Todi Rahmat" avatar: "https://avatars.githubusercontent.com/u/87259341?v=4" - github_url: "https://github.com/jasbirajrana" @@ -571,4 +574,4 @@ avatar: 'https://avatars.githubusercontent.com/u/44608860?v=4' - github_url: "https://github.com/devshree-bhati" name: "Devshree Bhati" - avatar: "https://avatars.githubusercontent.com/u/147095250?v=4" \ No newline at end of file + avatar: "https://avatars.githubusercontent.com/u/147095250?v=4" From 9a600ebbb3f3b6913900842674a8ec9bffe99e49 Mon Sep 17 00:00:00 2001 From: Anuj222345 <157805273+Anuj222345@users.noreply.github.com> Date: Sat, 17 Oct 2026 15:26:18 +0530 Subject: [PATCH 3/3] Delete .github/workflows/node.js.yml --- .github/workflows/node.js.yml | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 .github/workflows/node.js.yml diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml deleted file mode 100644 index 093a954..0000000 --- a/.github/workflows/node.js.yml +++ /dev/null @@ -1,31 +0,0 @@ -# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs - -name: Node.js CI - -on: - push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] - -jobs: - build: - - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [18.x, 20.x, 22.x] - # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ - - steps: - - uses: actions/checkout@v4 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 - with: - node-version: ${{ matrix.node-version }} - cache: 'npm' - - run: npm ci - - run: npm run build --if-present - - run: npm test