File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed
Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 1414 uses : actions/setup-node@v4
1515 with :
1616 node-version : 22.x
17- - name : Install dependencies
18- run : npm ci --omit=optional
17+ - name : Install Node and Dependencies
18+ uses : ./.github/actions/npm-setup
19+ with :
20+ runner : ubuntu-22.04
21+ node-version : 22.x
1922 - name : Code linting
2023 run : npm run lint:ci
Original file line number Diff line number Diff line change @@ -130,13 +130,11 @@ jobs:
130130 - name : Code checkout
131131 uses : actions/checkout@v4
132132
133- - name : Install NodeJS ${{ inputs .node-version }}
134- uses : actions/setup-node@v4
133+ - name : Install Node ${{ matrix .node-version }} and Dependencies
134+ uses : ./.github/ actions/npm-setup
135135 with :
136- node-version : ${{ inputs.node-version }}
137-
138- - name : Install dependencies
139- run : npm ci --omit=optional
136+ runner : ${{ matrix.runner }}
137+ node-version : ${{ matrix.node-version }}
140138
141139 - name : Run tests
142140 run : npm run test:ci -- ${{ inputs.workspace }}
You can’t perform that action at this time.
0 commit comments