From e76d300a7dbfb9a07054595eef7869874a596db1 Mon Sep 17 00:00:00 2001 From: rvmsswt002 <166423147+rvmsswt002@users.noreply.github.com> Date: Tue, 23 Apr 2024 00:16:35 -0400 Subject: [PATCH 01/11] Create main.yml --- .github/workflows/main.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..e48746d3 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,18 @@ +name: 01-trigger-azure-cast-scan-pipeline +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + workflow_dispatch: + +jobs: + CastScanning: + runs-on: self-hosted + steps: + - name: Azure pipelines actions + uses: Azure/pipelines@v1 + with: + azure-devops-project-url: 'https://dev.azure.com/rvmado/NVS_EH' + azure-pipeline-name: 'Application03' + azure-devops-token: '${{ secrets.AZURE_DEVOPS_TOKEN }}' From f22268e62aa479064269cd174e2cf1cc11961642 Mon Sep 17 00:00:00 2001 From: rvmsswt002 <166423147+rvmsswt002@users.noreply.github.com> Date: Tue, 23 Apr 2024 00:18:33 -0400 Subject: [PATCH 02/11] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e48746d3..40c17424 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,7 +8,7 @@ on: jobs: CastScanning: - runs-on: self-hosted + runs-on: ubuntu-latest steps: - name: Azure pipelines actions uses: Azure/pipelines@v1 From d44e4c2bbdc9b1869fbaddfcf4d25b18fb50ea74 Mon Sep 17 00:00:00 2001 From: rvmsswt002 <166423147+rvmsswt002@users.noreply.github.com> Date: Tue, 23 Apr 2024 00:21:08 -0400 Subject: [PATCH 03/11] Update main.yml --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 40c17424..c108af01 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,9 +1,9 @@ name: 01-trigger-azure-cast-scan-pipeline on: push: - branches: [ "main" ] + branches: [ "master" ] pull_request: - branches: [ "main" ] + branches: [ "master" ] workflow_dispatch: jobs: From cc1613513fc98e738ddd7eef1c8194ca5a54905e Mon Sep 17 00:00:00 2001 From: rvmsswt002 <166423147+rvmsswt002@users.noreply.github.com> Date: Tue, 23 Apr 2024 00:23:16 -0400 Subject: [PATCH 04/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 999a200d..504742fd 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# GitHub Action to trigger a run in Azure pipelines +# GitHub Action to trigger a run in Azure pipelines!! GitHub Actions makes it easy to build, test, and deploy your code right from GitHub. From 124c19769de333d0a05eb9bb17e3289335d45006 Mon Sep 17 00:00:00 2001 From: rvmsswt002 <166423147+rvmsswt002@users.noreply.github.com> Date: Tue, 23 Apr 2024 00:25:32 -0400 Subject: [PATCH 05/11] Create node.js.yml --- .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 00000000..2e6213de --- /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: [20.x] + # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ + + steps: + - uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + - run: npm ci + - run: npm run build --if-present + - run: npm test From e96c6d0d746eaaa01ba323ed0113fc4881ec81bb Mon Sep 17 00:00:00 2001 From: rvmsswt002 <166423147+rvmsswt002@users.noreply.github.com> Date: Tue, 23 Apr 2024 00:33:19 -0400 Subject: [PATCH 06/11] Update main.yml --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c108af01..89e62848 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,7 +8,8 @@ on: jobs: CastScanning: - runs-on: ubuntu-latest + #runs-on: ubuntu-latest + runs-on: self-hosted steps: - name: Azure pipelines actions uses: Azure/pipelines@v1 From c2ee6b9b3ba5608b45593bde577f7d4471dfe2da Mon Sep 17 00:00:00 2001 From: rvmsswt002 <166423147+rvmsswt002@users.noreply.github.com> Date: Tue, 23 Apr 2024 11:41:47 -0400 Subject: [PATCH 07/11] Update node.js.yml --- .github/workflows/node.js.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 2e6213de..e1c53309 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: - node-version: [20.x] + node-version: [20.5.0] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: @@ -26,6 +26,5 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'npm' - - run: npm ci - - run: npm run build --if-present - - run: npm test + - run: npm cache clean --force + - run: npm install npm@latest -g From 239eb3859fc610ff00acd3e8b60350a54938edf8 Mon Sep 17 00:00:00 2001 From: rvmsswt002 <166423147+rvmsswt002@users.noreply.github.com> Date: Tue, 23 Apr 2024 12:06:15 -0400 Subject: [PATCH 08/11] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 89e62848..d635d132 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,5 +15,5 @@ jobs: uses: Azure/pipelines@v1 with: azure-devops-project-url: 'https://dev.azure.com/rvmado/NVS_EH' - azure-pipeline-name: 'Application03' + azure-pipeline-name: 'azure-pipelines-action' azure-devops-token: '${{ secrets.AZURE_DEVOPS_TOKEN }}' From 26df3dc33283ba40ce15c43f7cb2d13c4e34378a Mon Sep 17 00:00:00 2001 From: rvmsswt002 <166423147+rvmsswt002@users.noreply.github.com> Date: Tue, 23 Apr 2024 12:46:12 -0400 Subject: [PATCH 09/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 504742fd..999a200d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# GitHub Action to trigger a run in Azure pipelines!! +# GitHub Action to trigger a run in Azure pipelines GitHub Actions makes it easy to build, test, and deploy your code right from GitHub. From 1f6f9f2f23ef2a6bf62ae69be67ae803bfb36111 Mon Sep 17 00:00:00 2001 From: rvmsswt002 <166423147+rvmsswt002@users.noreply.github.com> Date: Tue, 23 Apr 2024 13:26:13 -0400 Subject: [PATCH 10/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 999a200d..b3fc5647 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# GitHub Action to trigger a run in Azure pipelines +# GitHub Action to trigger a run in Azure pipelines# GitHub Actions makes it easy to build, test, and deploy your code right from GitHub. From b39604b0e096193709e411d2fd425e55c906b285 Mon Sep 17 00:00:00 2001 From: rvmsswt002 <166423147+rvmsswt002@users.noreply.github.com> Date: Tue, 23 Apr 2024 15:31:58 -0400 Subject: [PATCH 11/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b3fc5647..c101495c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# GitHub Action to trigger a run in Azure pipelines# +# GitHub Action to trigger a run in Azure pipelines#Testin GitHub Actions makes it easy to build, test, and deploy your code right from GitHub.