File tree Expand file tree Collapse file tree 1 file changed +14
-8
lines changed Expand file tree Collapse file tree 1 file changed +14
-8
lines changed Original file line number Diff line number Diff line change 11# This workflow will run tests using node on every push
2-
32name : Build package
43
54on : push
@@ -11,11 +10,18 @@ jobs:
1110 strategy :
1211 matrix :
1312 node-version : ['18.x', '20.x', '23.x']
14-
1513 steps :
16- - uses : actions/checkout@v4
17- - uses : actions/setup-node@v4
18- with :
19- node-version : ${{ matrix.node-version }}
20- - run : pnpm install --frozen-lockfile
21- - run : pnpm test
14+ - uses : actions/checkout@v4
15+ - name : Install pnpm
16+ uses : pnpm/action-setup@v4
17+ with :
18+ version : 10
19+ - name : Use Node.js ${{ matrix.node-version }}
20+ uses : actions/setup-node@v4
21+ with :
22+ node-version : ${{ matrix.node-version }}
23+ cache : ' pnpm'
24+ - name : Install dependencies
25+ run : pnpm install
26+ - name : Run tests
27+ run : pnpm test
You can’t perform that action at this time.
0 commit comments