File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 11name : setup
22
3+ inputs :
4+ node-version :
5+ description : " Node.js version to use"
6+ required : false
7+ default : " 22.10.x"
8+
39runs :
410 using : composite
511 steps :
612 - name : Setup node
713 uses : actions/setup-node@v4
814 with :
9- node-version : " 22.10.x "
15+ node-version : ${{ inputs.node-version }}
1016 cache : npm
1117 registry-url : ' https://registry.npmjs.org/'
1218
Original file line number Diff line number Diff line change @@ -18,12 +18,17 @@ jobs:
1818 test :
1919 runs-on : ubuntu-latest
2020 if : ${{ github.event_name == 'workflow_dispatch' || !contains(github.event.head_commit.message, 'chore(release):') }}
21+ strategy :
22+ matrix :
23+ node-version : [22.17, 24]
2124 steps :
2225 - name : Checkout the repository
2326 uses : actions/checkout@v5
2427
2528 - name : Setup
2629 uses : ./.github/actions/setup
30+ with :
31+ node-version : ${{ matrix.node-version }}
2732
2833 - name : Run linter
2934 run : npm run eslint-check
You can’t perform that action at this time.
0 commit comments