diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0ae395d5..4f695f4f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,16 +8,24 @@ on: push: branches: ["*"] paths: - - "recipes/**" - - "utils/**" + - "recipes/**/*.js" + - "recipes/**/*.ts" + - "recipes/**/package.json" + - "utils/**/*.js" + - "utils/**/*.ts" + - "utils/package.json" - "package.json" - "package-lock.json" - ".github/workflows/ci.yml" pull_request: branches: ["*"] paths: - - "recipes/**" - - "utils/**" + - "recipes/**/*.js" + - "recipes/**/*.ts" + - "recipes/**/package.json" + - "utils/**/*.js" + - "utils/**/*.ts" + - "utils/**/package.json" - "package.json" - "package-lock.json" - ".github/workflows/ci.yml" @@ -35,6 +43,8 @@ jobs: name: Configure Node environment matrix runs-on: ubuntu-latest + if: ${{ github.event_name != 'pull_request' || !github.event.pull_request.draft }} + outputs: latest: ${{ steps.set-matrix.outputs.requireds }} steps: