File tree Expand file tree Collapse file tree 1 file changed +8
-23
lines changed
Expand file tree Collapse file tree 1 file changed +8
-23
lines changed Original file line number Diff line number Diff line change @@ -14,18 +14,12 @@ concurrency:
1414jobs :
1515 setup-node :
1616 name : Setup Dependencies
17- runs-on : ubuntu-latest
18- steps :
19- - name : Checkout repo
20- uses : actions/checkout@v4
21- - name : Set up Node.js
22- uses : actions/setup-node@v4
23- with :
24- node-version : 22
25- cache : ' npm'
26- - name : Install dependencies
27- run : npm ci
28-
17+ uses : ./.github/workflows/node-setup.yml
18+ strategy :
19+ matrix :
20+ node-version : [22]
21+ with :
22+ node-version : ${{ matrix.node-version }}
2923 check_lint :
3024 name : Validate package linting
3125 runs-on : ubuntu-latest
3428 - name : Checkout repo
3529 uses : actions/checkout@v4
3630 - name : Set up Node.js
37- uses : actions/setup-node@v4
38- with :
39- node-version : 22
40- cache : ' npm'
41- - run : npm ci
31+ uses : ./.github/actions/cache-restore
4232 - name : Check Linting
4333 run : npm run lint
44-
4534 check_format :
4635 name : Validate package formatting
4736 runs-on : ubuntu-latest
5039 - name : Checkout repo
5140 uses : actions/checkout@v4
5241 - name : Set up Node.js
53- uses : actions/setup-node@v4
54- with :
55- node-version : 22
56- cache : ' npm'
57- - run : npm ci
42+ uses : ./.github/actions/cache-restore
5843 - name : Check Formatting
5944 run : npm run test:format
You can’t perform that action at this time.
0 commit comments