From d9944c689040782304bb58aaf472cc034aa6046e Mon Sep 17 00:00:00 2001 From: gitcommitshow <56937085+gitcommitshow@users.noreply.github.com> Date: Wed, 27 Mar 2024 20:30:28 +0530 Subject: [PATCH 1/3] test: skip ci on markdown file changes --- .github/workflows/test.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b37aee1..2aa40c1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,10 +5,12 @@ name: npm test on: workflow_dispatch: - push: - branches: [ "main" ] pull_request: branches: [ "main" ] + paths-ignore: + - "**.md" + - "ENV_SAMPLE" + - "LICENSE" env: APERTURE_SERVICE_ADDRESS: ${{ secrets.APERTURE_SERVICE_ADDRESS }} From 6c114765129ce42bda63d5a07b19bde7187b6d5c Mon Sep 17 00:00:00 2001 From: gitcommitshow <56937085+gitcommitshow@users.noreply.github.com> Date: Wed, 27 Mar 2024 20:34:47 +0530 Subject: [PATCH 2/3] chore: add more files to ci ignore list --- .github/workflows/test.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2aa40c1..f5cdcde 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,9 +8,14 @@ on: pull_request: branches: [ "main" ] paths-ignore: - - "**.md" - "ENV_SAMPLE" - "LICENSE" + - "**/*.md" + - ".vscode/**" + - ".gitignore" + - ".dockerignore" + - ".npmignore" + - "assets/**" env: APERTURE_SERVICE_ADDRESS: ${{ secrets.APERTURE_SERVICE_ADDRESS }} From 6f6ac8ddcf6483c0bebe73429f919cb7307fdfec Mon Sep 17 00:00:00 2001 From: gitcommitshow <56937085+gitcommitshow@users.noreply.github.com> Date: Wed, 27 Mar 2024 20:36:04 +0530 Subject: [PATCH 3/3] chore: skip ci for node version other than 20 --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f5cdcde..0c6afdc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,7 +28,7 @@ jobs: strategy: matrix: - node-version: [16.x, 18.x, 20.x] + node-version: [20.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: