Skip to content

Commit

Permalink
ci: use matrix include to set data for optional steps
Browse files Browse the repository at this point in the history
  • Loading branch information
marcalexiei committed Sep 1, 2024
1 parent 2f21f7e commit ba1963a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ jobs:
- '8.56'
- '8'
- '9'

include:
- executeLint: true
node: 20
os: ubuntu-latest

runs-on: ${{ matrix.os }}
steps:
- name: Checkout Repo
Expand Down Expand Up @@ -65,7 +71,7 @@ jobs:
EFF_NO_LINK_RULES: true
PARSER_NO_WATCH: true
SKIP_YARN_COREPACK_CHECK: 1
if: ${{ matrix.node == 20 }}
if: ${{ matrix.executeLint }}

- name: Codecov
uses: codecov/codecov-action@v3

0 comments on commit ba1963a

Please sign in to comment.