From 31eb1ec9845298b7ffe6aff90d47b6e39a30fc5e Mon Sep 17 00:00:00 2001 From: RaviAkshintala <167848931+RaviAkshintala@users.noreply.github.com> Date: Fri, 27 Sep 2024 22:31:08 +0530 Subject: [PATCH] Create node.yml --- .github/workflows/node.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/node.yml diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml new file mode 100644 index 000000000000..6c100e758b48 --- /dev/null +++ b/.github/workflows/node.yml @@ -0,0 +1,25 @@ +name: Install Node.js and NPM + +on: + push: + branches: ["main"] + pull_request: + branches: ["main"] + +jobs: + install-node: + runs-on: ubuntu-24.04 + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Setup Node.js + uses: actions/setup-node@v2 + with: + node-version: '16' # Specify the Node.js version you need + + - name: Check Node.js and NPM versions + run: | + node -v + npm -v