From 824959eec5a0ddb3441800fb6c90a767f380045c Mon Sep 17 00:00:00 2001 From: Shubham Date: Thu, 19 Mar 2026 15:42:20 +0530 Subject: [PATCH 1/5] Github actions pull request --- .idea/.gitignore | 10 ++++++++++ .idea/github-actions-demo-project.iml | 9 +++++++++ .idea/misc.xml | 6 ++++++ .idea/modules.xml | 8 ++++++++ .idea/vcs.xml | 6 ++++++ workflows/test.yaml | 21 +++++++++++++++++++++ 6 files changed, 60 insertions(+) create mode 100644 .idea/.gitignore create mode 100644 .idea/github-actions-demo-project.iml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml create mode 100644 workflows/test.yaml diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..ab1f416 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,10 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Ignored default folder with query files +/queries/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml +# Editor-based HTTP Client requests +/httpRequests/ diff --git a/.idea/github-actions-demo-project.iml b/.idea/github-actions-demo-project.iml new file mode 100644 index 0000000..d6ebd48 --- /dev/null +++ b/.idea/github-actions-demo-project.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..f5bd2df --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..7947ed3 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/workflows/test.yaml b/workflows/test.yaml new file mode 100644 index 0000000..6dc5382 --- /dev/null +++ b/workflows/test.yaml @@ -0,0 +1,21 @@ +name: Test Project + +on: + pull request: + branches: + - main + +jobs: + test: + runs-on: ubuntu-latest + container: + image: node:20 + steps: + - uses: actions/checkout@v3 + with: + node-version: 20 + - run: npm ci + - run: npm test + - run: npm run build + + From e3f81912f181ad47307133493fb67fa6332a98c0 Mon Sep 17 00:00:00 2001 From: Shubham Date: Thu, 19 Mar 2026 16:10:03 +0530 Subject: [PATCH 2/5] ci cd tes --- workflows/test.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/workflows/test.yaml b/workflows/test.yaml index 6dc5382..dc2485e 100644 --- a/workflows/test.yaml +++ b/workflows/test.yaml @@ -17,5 +17,3 @@ jobs: - run: npm ci - run: npm test - run: npm run build - - From 800364b0bfdae73c68e67db55ffc16236b8b8915 Mon Sep 17 00:00:00 2001 From: Shubham Date: Thu, 19 Mar 2026 21:10:04 +0530 Subject: [PATCH 3/5] ci cd test, fixed node version and path error --- {workflows => .github/workflows}/test.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) rename {workflows => .github/workflows}/test.yaml (81%) diff --git a/workflows/test.yaml b/.github/workflows/test.yaml similarity index 81% rename from workflows/test.yaml rename to .github/workflows/test.yaml index dc2485e..2637e61 100644 --- a/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -1,7 +1,7 @@ name: Test Project on: - pull request: + pull_request: branches: - main @@ -12,8 +12,7 @@ jobs: image: node:20 steps: - uses: actions/checkout@v3 - with: - node-version: 20 + - run: npm ci - run: npm test - run: npm run build From 39b37b59c143dde02f9f4363b456d10668462490 Mon Sep 17 00:00:00 2001 From: Shubham Date: Thu, 19 Mar 2026 21:27:45 +0530 Subject: [PATCH 4/5] checking it for github actions to work --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 2637e61..bc3dd7a 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -15,4 +15,4 @@ jobs: - run: npm ci - run: npm test - - run: npm run build + - run: npm run build \ No newline at end of file From 6c6fed9965403bedd9ac56a0ef1444b77e53f5c5 Mon Sep 17 00:00:00 2001 From: Shubham Date: Thu, 19 Mar 2026 21:36:45 +0530 Subject: [PATCH 5/5] 1checking it for github actions to work --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index bc3dd7a..2637e61 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -15,4 +15,4 @@ jobs: - run: npm ci - run: npm test - - run: npm run build \ No newline at end of file + - run: npm run build