File tree Expand file tree Collapse file tree 3 files changed +12
-14
lines changed
Expand file tree Collapse file tree 3 files changed +12
-14
lines changed Original file line number Diff line number Diff line change 99 steps :
1010 - uses : actions/checkout@v4
1111
12- - name : Use Node.js 20
13- uses : actions/setup-node@v3
14- with :
15- node-version : 20.x
12+ - name : Setup pnpm
13+ uses : pnpm/action-setup@v4
1614
17- - name : Cache node modules
18- uses : actions/cache@v3
15+ - name : Use Node.js 20
16+ uses : actions/setup-node@v4
1917 with :
20- path : ~/.npm
21- key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
18+ node-version : 24.x
19+ cache : pnpm
2220
2321 - name : Install
24- run : npm install
22+ run : pnpm install --frozen-lockfile
2523
2624 - name : Lint spec
27- run : npm run test
25+ run : pnpm test
2826
2927 - name : Build
30- run : npm run build
28+ run : pnpm build
3129
3230 - name : Smoke test
3331 run : node smoke.js
Original file line number Diff line number Diff line change 2727 - name : Use Node.js
2828 uses : actions/setup-node@v4
2929 with :
30- node-version : 22
30+ node-version : 24
3131 cache : pnpm
3232 registry-url : https://registry.npmjs.org
3333
Original file line number Diff line number Diff line change 22 "name" : " @ideal-postcodes/openapi" ,
33 "description" : " Ideal Postcodes OpenAPI v3 specifications" ,
44 "version" : " 4.16.0" ,
5- "packageManager" : " pnpm@10.28 .0" ,
5+ "packageManager" : " pnpm@10.33 .0" ,
66 "devDependencies" : {
77 "@cablanchard/tsconfig" : " ~2.0.0" ,
88 "@redocly/cli" : " ~2.0.7" ,
1818 "prepublish" : " tsc" ,
1919 "semantic-release" : " semantic-release" ,
2020 "start" : " redocly preview --project-dir dist" ,
21- "mock" : " npm run build && prism mock ./dist/openapi.yaml" ,
21+ "mock" : " pnpm build && prism mock ./dist/openapi.yaml" ,
2222 "build" : " tsc" ,
2323 "test" : " redocly lint dist/openapi.yaml && redocly lint dist/openapi.json"
2424 },
You can’t perform that action at this time.
0 commit comments