File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,18 +11,12 @@ concurrency:
1111jobs :
1212 setup-node :
1313 name : Setup Dependencies
14- runs-on : ubuntu-latest
15- steps :
16- - name : Checkout repo
17- uses : actions/checkout@v4
18- - name : Set up Node.js
19- uses : actions/setup-node@v4
20- with :
21- node-version : 22
22- cache : ' npm'
23- - name : Install dependencies
24- run : npm ci
25-
14+ uses : ./.github/workflows/node-setup.yml
15+ strategy :
16+ matrix :
17+ node-version : [22]
18+ with :
19+ node-version : ${{ matrix.node-version }}
2620 check_lint :
2721 name : Validate package linting
2822 runs-on : ubuntu-latest
3125 - name : Checkout repo
3226 uses : actions/checkout@v4
3327 - name : Set up Node.js
34- uses : actions/setup-node@v4
35- with :
36- node-version : 22
37- cache : ' npm'
38- - run : npm ci
28+ uses : ./.github/actions/cache-restore
3929 - name : Check Linting
4030 run : npm run lint
41-
4231 check_format :
4332 name : Validate package formatting
4433 runs-on : ubuntu-latest
4736 - name : Checkout repo
4837 uses : actions/checkout@v4
4938 - name : Set up Node.js
50- uses : actions/setup-node@v4
51- with :
52- node-version : 22
53- cache : ' npm'
54- - run : npm ci
39+ uses : ./.github/actions/cache-restore
5540 - name : Check Formatting
5641 run : npm run test:format
You can’t perform that action at this time.
0 commit comments