File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 88jobs :
99 test :
1010 runs-on : ubuntu-latest
11+ env :
12+ NODE_OPTIONS : " --max_old_space_size=4096"
1113 strategy :
1214 matrix :
1315 # https://nodejs.org/en/about/previous-releases
1416 node-version : [20, 22, 24]
1517 steps :
1618 - name : Checkout repository
1719 uses : actions/checkout@v4
18- - name : Setup Node.js
19- uses : actions/setup-node@v4
20- with :
21- node-version : ${{ matrix.node-version }}
2220 - name : Install pnpm
2321 uses : pnpm/action-setup@v4
2422 with :
2523 version : 10.13.1
26- run_install : false # do manual install to avoid heap memory errors
24+ run_install : false
25+ - name : Setup Node.js
26+ uses : actions/setup-node@v4
27+ with :
28+ node-version : ${{ matrix.node-version }}
29+ cache : ' pnpm'
2730 - name : Install dependencies
28- env :
29- NODE_OPTIONS : --max_old_space_size=4096
30- # lower parallelism to save RAM
31- run : pnpm install --frozen-lockfile --network-concurrency=1
31+ run : pnpm install
3232 - name : Build all packages
3333 run : pnpm build
3434 - name : Run linter
You can’t perform that action at this time.
0 commit comments