From 95b0347b48fc824feb77e4377ca69767044b3183 Mon Sep 17 00:00:00 2001 From: kain27d <54050173+kain27d@users.noreply.github.com> Date: Fri, 8 May 2026 09:50:08 +0900 Subject: [PATCH 1/5] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 00000000..7a856f49 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,21 @@ +# Node.js +# Build a general Node.js project with npm. +# Add steps that analyze code, save build artifacts, deploy, and more: +# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript + +trigger: +- main + +pool: + vmImage: ubuntu-latest + +steps: +- task: NodeTool@0 + inputs: + versionSpec: '20.x' + displayName: 'Install Node.js' + +- script: | + npm install + npm run build + displayName: 'npm install and build' From 2a75b15565fae73d4d9432653b4984f696047b9a Mon Sep 17 00:00:00 2001 From: kain27d <54050173+kain27d@users.noreply.github.com> Date: Fri, 8 May 2026 17:07:47 +0900 Subject: [PATCH 2/5] feat: add trigger and pr filter test --- azure-pipelines.yml | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7a856f49..68144aba 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,21 +1,24 @@ -# Node.js -# Build a general Node.js project with npm. -# Add steps that analyze code, save build artifacts, deploy, and more: -# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript +name: 1.0$(Rev:.r) trigger: - main -pool: - vmImage: ubuntu-latest +pr: + branches: + include: + - feature/trigger-test + paths: + include: + - src/** + +variables: + name: namnam -steps: -- task: NodeTool@0 - inputs: - versionSpec: '20.x' - displayName: 'Install Node.js' +pool: + name: Default -- script: | - npm install - npm run build - displayName: 'npm install and build' +jobs: +- job: helloworld + steps: + - checkout: self + - script: echo "Hello, $(name)" \ No newline at end of file From 866ae546abdb44e1fc069d50f8ec9ef8832d14eb Mon Sep 17 00:00:00 2001 From: kain27d <54050173+kain27d@users.noreply.github.com> Date: Fri, 8 May 2026 17:10:33 +0900 Subject: [PATCH 3/5] Create trigger file --- src/trigger | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/trigger diff --git a/src/trigger b/src/trigger new file mode 100644 index 00000000..9daeafb9 --- /dev/null +++ b/src/trigger @@ -0,0 +1 @@ +test From 7581d0f83b828a6b5c0a8bbc9c04cdb91301a26c Mon Sep 17 00:00:00 2001 From: kain27d <54050173+kain27d@users.noreply.github.com> Date: Fri, 8 May 2026 17:29:56 +0900 Subject: [PATCH 4/5] Update trigger --- src/trigger | 1 + 1 file changed, 1 insertion(+) diff --git a/src/trigger b/src/trigger index 9daeafb9..38ad9951 100644 --- a/src/trigger +++ b/src/trigger @@ -1 +1,2 @@ test +18 19 20 From f1de7037f5152af27766499c118ba3c864ef4c02 Mon Sep 17 00:00:00 2001 From: kain27d <54050173+kain27d@users.noreply.github.com> Date: Fri, 8 May 2026 17:42:07 +0900 Subject: [PATCH 5/5] pr change branche --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 68144aba..fd1b9e2e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -6,7 +6,7 @@ trigger: pr: branches: include: - - feature/trigger-test + - main paths: include: - src/** @@ -21,4 +21,4 @@ jobs: - job: helloworld steps: - checkout: self - - script: echo "Hello, $(name)" \ No newline at end of file + - script: echo "Hello, $(name)"