From 5942d1333fe430d378ed2e4b95ea21cd83558d7f Mon Sep 17 00:00:00 2001 From: Chlod Alejandro Date: Thu, 2 Nov 2023 09:04:09 +0800 Subject: [PATCH] ci: rm some node versions, on.push.paths --- .github/workflows/ci-cd.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 424b92f..a440466 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -2,7 +2,17 @@ name: CI/CD on: push: + paths: + - 'src/**' + - 'package.json' + - 'package-lock.json' + - '.github/workflows/ci-cd.yml' pull_request: + paths: + - 'src/**' + - 'package.json' + - 'package-lock.json' + - '.github/workflows/ci-cd.yml' jobs: spec: @@ -38,7 +48,7 @@ jobs: fail-fast: true max-parallel: 1 matrix: - node-version: [ 14.x, 16.x, 18.x, 'lts/*', latest ] + node-version: [ 14.x, 'lts/*', latest ] steps: - uses: actions/checkout@v3